Question: Problem 1: Write a program that accepts two characters and displays the message The characters are not the same if the characters are different, and
Problem 1:
- Write a program that accepts two characters and displays the message The characters are not the same if the characters are different, and quits if the characters are the same.
- Modify the previous program to include a while loop, and make the program continuously ask for two characters as long as the input characters are not the same and stop when they are the same.
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
