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

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!