Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please I have 20 minutes left I need help Question 1 Using pseudocode, prepare a complete algorithm of a C program to allow users to
Please I have 20 minutes left I need help
Question 1 Using pseudocode, prepare a complete algorithm of a C program to allow users to view the statistic of total cases and total death caused by Covid-19 in selected states in Malaysia, as well as the percentage of total death cases accumulated in each state. Quit the program only after the user enters integer ZERO (0). Ensure only valid input is accepted. The total cases and death of each state are as listed below: State Selangor Sabah Sarawak Cases 664k 1895 189k Death 6k 2k 1.4k Use below sample input/output format to guide you in preparing the algorithm: COVID-19 Cases in Malaysia 1. Selangor 2. Sabah 3. Sarawak 0. Exit Enter state [O to exit]: 8 Invalid input Enter state [O to exit): 1 State: Selangor Total cases: 664000 Total death: 6000 (0.0090%) Enter state [O to exit]: 0 End-of-programStep 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