Question: in C++ Write a program that will take a sentence from the user and uses a for loop to convert all lowercase characters to uppercase

in C++ Write a program that will take a sentence from the user and uses a for loop to convert all lowercase characters to uppercase characters. Then output the converted sentence. Example, if the user enters Hello World, your program should output HELLO WORLD. Recall that the ASCII value of A is 65 and the ASCII value of a is 97. The ASCII value of Z is 90 and the ASCII value of z is 122. in c++ we can only use for (.) and toupper()

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!