Question: C PROGRAMMING# Problem 2. Character Processing (25 points) Write a program that prompts the user to enter characters until they enter a comma. After each

C PROGRAMMING#

C PROGRAMMING# Problem 2. Character Processing (25 points) Write a program that

Problem 2. Character Processing (25 points) Write a program that prompts the user to enter characters until they enter a comma. After each character, the program should do one of the following: If the character is lower case character, reprint it as upper case If the character is upper case, reprint it as lower case If the character is a number, print the ascii value (convert the char to an int) Do not use ctype.h. Name your file Hw4 q2 code.c. (TIP: use scanf(" %c", &input)) Example Hints, Inputs and Output: (purple texts are what the program should print on the screen to instruct the users, the black texts are what the users type in) Input a character: a Input a character: A Input a character: 1 49 Input a character

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!