Question: Write a program that gives the user a simple medical diagnosis. The program should prompt the user with 'What is your problem? ' When the
Write a program that gives the user a simple medical diagnosis. The program should prompt the user with 'What is your problem? When the user answers and presses Enter, the program should simply ignore the users input, then prompt the user again with 'Have you had this problem before yes or no If the user enters 'yes', print 'Well, you have it again. If the user answers no print 'Well, you have it now.
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
