Please write a code that will look like this. You CANNOT use ArrayLists or any t
ID: 3726444 • Letter: P
Question
Please write a code that will look like this. You CANNOT use ArrayLists or any type of List to store objects, Breaks, or continue statemets throughout the entire project. PLEASE only use basic Arrays Correctly use the “Prime the Read” method for inputting data before a sentinel loop. Note: You may not use any break or continue statements in your program to earn these points.
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