C programming. Write a program that gets a string from the user and maps the capital letters into small letters, and maps the small letters into capital letters. Namely, 'A' should be changed to 'a';...


C programming.


Write a program that gets a string from the user and maps the capital letters into small letters, and maps the small letters into capital letters. Namely, 'A' should be changed to 'a'; 'B' should be changed to 'b'; ... 'Z' should be changed to 'z'. Similarly, 'a' should be changed to 'A'; 'b' should be changed to 'B'; etc...


Your program should also change the digits into next odd number. Namely, '0' should be changed to '1'; '1' should be leaved  as '1'; '2' should be changed to '3'; ... '9' should be leaved as '9'. Your program should print the final form of the altered string.



Example:


If the user enters:


My salary is 1000 TL.


The output should be:


mY SALARY IS 1111 tl



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here