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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!