Question: c program please fast Instruction To answer the question in this assignment you need to: - 1. Write a C program and give some comments
Instruction To answer the question in this assignment you need to: - 1. Write a C program and give some comments regarding the programs. 2. Put the program (with screenshot of the program output) in pdf file and upload this file in the E-learning platform. 3. Any copy from the internet or from any other students will be considered as cheating and the student will get zero. Q1: Write a complete program that stores the following number of medal collection for 5 countries into the 2-D array called medals. Country 1 Country 2 Country 3 Country 4 Gold 129 120 115 98 Silver 257 279 290 209 Bronze 590 394 123 112 Your program must have the following functions that do the following: Read the number of medals for each country from a keyboard and store them inside the medals array Return total number of medals won by country 3. (hint/ Program must return the result of (115+290+123)). Return the largest number of medals won. (hint/ program must return 590) Return the smallest number of medals won. (hint/ program must return 98) Return the highest number of gold medal won. (hint/ program must return 129) Return the total number of bronze medals won. (program must return the result of (590=394+123+112))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
