Question: C++ Exercise #3: Char Reverse Order Write a program that reads in a list of characters from the keyboard and prints the characters in the

C++

C++ Exercise \#3: Char Reverse Order Write a program that reads in

Exercise \#3: Char Reverse Order Write a program that reads in a list of characters from the keyboard and prints the characters in the reverse order in which they were entered. The list will be terminated by the value '... The value '.' is not part of the list and should not be printed out. The characters should be read into a char array. The maximum number of characters that can be read in is 20 . Your program should include a loop that lets the user repeat the list until the user says she or he is done. Example Output: Enter a list of Characters (. to end list): abcdefg. The characters in reverse order are: gfedcba Would you like to process another list? (Y or N): y Enter a list of Characters (. to end list): Backwards. The characters in reverse order are: sdrawkcaB Would you like to process another list? (Y or N): N End program. Required Test Cases: amginE. stressed. abcdefghijklmnopgrs. abcdefghijklmnopgrst Note: The last list does not need a '.' to end since it has the maximum number of elements

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!