Case Manipulator – Write a C++ program with three functions: upper , lower , and flip . Each function should accept a C-string as an argument. The upper function should step through all the characters...



Case Manipulator
– Write a C++ program with three functions:
upper,
lower, and
flip. Each function should accept a
C-string
as an argument. The
upper
function should step through all the characters in the string, converting each to uppercase. The
lower
function, should step through all the characters in the string converting, each to lowercase. The
flip
steps through the string, testing each character to determine whether it is upper or lowercase. If upper, it should convert to lower. If lower, it should convert to upper.


The
main
function should accept one string from the user, then pass it to each of the functions.



Output:
The original string, the uppercase, lowercase, and flipped case strings should all be displayed.



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here