Answered step by step
Verified Expert Solution
Question
1 Approved Answer
MEDIU is keeping track of number of students from each country. The Education Ministry has set a quota of 5 0 % of any individual
MEDIU is keeping track of number of students from each country. The Education Ministry has set a quota of of any individual country, which means, no one country to have students more than of the total number of students. Write a program that uses arrays to store the names of the countries top ten countries with another array for the number of students from the related country.The below arrays are related to mean there are students from Africa, from UAE and so onSampleThe program should do the following :Display the country with the highest number of students.Identify whether the country from has exceeded the quota. If so display an alert statement.Display all countries with the number of students when the program ends.Requires :Arraysbasic inputoutput for arraylogic selection structureloops for while, or dowhile.
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