0
Anyone knows how to code this --> "count the number of alphabets U and M when user put a sentence"
cant think of because its involving single character instead of numbers. im still new. a beginner.
3 Réponses
+ 1
What language do you use?
0
im using java..
0
The easiest way would be to just use a for loop to iterate over the string and count how many "U" and "M" are there.