Question: 2. Write a program in C to input a string and replace every lower case letter with upper case letter, upper case letter with

2. Write a program in C to input a string and replace 

2. Write a program in C to input a string and replace every lower case letter with upper case letter, upper case letter with a lower case letter, digit with a '#' and a special symbol with a '%'. Display the new string (without using any C String Function). Test Data: There are 2 books on the table$ Expected Output: tHERE ARE #BOOKS ON THE TABLE%

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

include stdio h int main char st... View full answer

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 Programming Questions!