Question: In this program, we define an input to be valid if all of following conditions hold:All alphabetic letters are lower case, like c programming!,Non alphabetic
In this program, we define an input to be valid if all of following conditions hold:All alphabetic letters are lower case, like c programming!,Non alphabetic letters can only be digits, white space, exclamation point, question mark, or period. Write a program that prompts the user to enter input. The program determines if the input is a valid or invalid.RequirementsName your program projectvalid.cUse getchar function to read in the input. Do not use scanf. Arrays are not allowed to solve this problem.The user input ends with the user pressing the enter key a new line characterCharacter handling library functions in ctype.h are allowed.Follow the format of the examples below.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
