Question: Please Create Program in Java A COVID-19 Java program that will prompt the user for their First name, Last name, Age, and Zip code. The
Please Create Program in Java
A COVID-19 Java program that will prompt the user for their First name, Last name, Age, and Zip code. The program will then confirm the what the user entered by displaying the user's entry. Next your program will prompt the user for symptoms related to the COVID -19 pandemic. If the user has no symptoms, display the message: "Stay healthy by practicing social distancing" The numbers represent the symptoms 1- Coughing 2 = Headache 3 = Fever 4 = Difficulty breathing. If the user is chooses option 1 AND older than 65, Display the message: "You have a cough and you are older than 65. Call your doctor" Otherwise Display the message: "Call your doctor and stay healthy by practicing social distancing" If the user is chooses option 2 AND older than 65 Display the message: "You have a Headache and you are older than 65. Call your doctor" Otherwise Display the message: "Call your doctor and stay healthy by practicing social distancing" If the user is chooses option 3 AND older than 65 Display the message: "You have a Fever and you are older than 65. Call your doctor" Otherwise Display the message: "Call your doctor and stay healthy by practicing social distancing" If the user is chooses 4 AND older than 65 Display the message
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
