Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 messageStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started