Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a Java program that will look like this. You may (((NOT)))) use ArrayList objects for any part of this project. like- (Items in green/underline

Write a Java program that will look like this. You may (((NOT)))) use ArrayList objects for any part of this project.

image text in transcribed

like- (Items in green/underline are the user inputs. Your program should not print these items) Example Output (No patient data) Welcome to the Flu Tracker Type of the name of the Influenza Type (x to exit) Summary information There were: 0 cases of Flu to summarize Example Output (With patient data Welcome to the Flu Tracker Type of the name of the Influenza Type (x to exit) What is the age of the patient? 15 Next Patient Type of the name of the Influenza Type (x to exit) What is the age of the patient? 87 Next Patient Type of the name of the Influenza Type (x to exit) H1N1 What is the age of the patient? Next Patient Type of the name of the Influenza Type (x to exit) What is the age of the patient? 37 Next Patient Type of the name of the Influenza Type (x to exit) Summary information Type: Influenza-AAge: 15 Type: Influenza-B Age: 87 Type: H1N1 Type: Influenza-AAge: 37 There were: 4 cases of Influenza with an average age of 35

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions