Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C ++ parts of the world are facing the monsoon season. We want to keep track of the number of death around the world due
C ++ parts of the world are facing the monsoon season. We want to keep track of the number of death around the world due to the floods that has been caused by the monsoon. Write a program that uses arrays to store the names of the countries (top ten countries) with another array for the number of death related to the countries.
The program should do the following :
Identify the total and average infections for all countries.
Display the country with the highest number of deaths.
Requires :
Arrays
basic input/output for array
logic (selection structure)
loops (for, while, or do-while.)
Hint : the arrays relate through the indices, ie. Bangladesh has 200 death
Submit your .cpp file for marking.
Step 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