Question: This does not have to be a complete program, but these minimum items should be included. 1) Declare a variable of type character called c.
This does not have to be a complete program, but these minimum items should be included.
1) Declare a variable of type character called c. 2) Accept input from the user for in the variable c 3) If c equals 'y' or if c equal 'Y' output yes to the screen 4) otherwise If c equals 'n' or if c equal 'N' ouput no to the screen 5) In all other cases, else, output invalid entry to the screen.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
