Question: Write a program that prompts the user to enter a string and displays the number of the uppercase letters in the string. Enter a string:
Write a program that prompts the user to enter a string and displays the number of the uppercase letters in the string.
Enter a string: Welcome to Java
The number of uppercase letters is 2
Step by Step Solution
3.62 Rating (159 Votes )
There are 3 Steps involved in it
public class Exercise0550 public static void main... View full answer
Get step-by-step solutions from verified subject matter experts
