Question: please help Consider the following program: void setup //Write code to read a string from the user //xour code goes here Complete this program such

please help
Consider the following program: void setup //Write code to read a string from the user //xour code goes here Complete this program such that the program counts the number of capital letters (i.e. A through Z) in String s and prints out the number to the console. Example: for the String "My name is James", the program should output: There are 2 capital letters in this string. Your program should work for any String, regardless of its length. To ensure your program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
