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
Get step-by-step solutions from verified subject matter experts
