ALL CAPS C++

Your uncle has asked for a program that will help him translate
messages into ALL CAPS, so that it will look like it is shouting. (He is a
little hard of hearing–and also a bit daft.)
Write a program which does the following:
● Prompts, “Enter the message, one line at a time:”, followed by a
newline.
● Allows the user to enter a line of text, which may include letters,
numbers, and symbols.
● After the user hits return, the computer outputs the line translated
into all caps, followed by a newline. (Numbers and symbols should
not be altered.)
● The computer will continue accepting lines of the message,
translating each into all caps and printing it out, until we reach EOF
(i.e., the user will hit Ctrl-D on a new line).

×
New Download