Question: write a programm in C language and a short explain on how the codo works Problem 1 - Download Percentage You are given the sizes

 write a programm in C language and a short explain on write a programm in C language and a short explain on how the codo works

Problem 1 - Download Percentage You are given the sizes of n items and their downloaded amounts. Find the one whose remaining download percentage is the smallest. Input specification: You will be first given an integer (n), then in the following n lines you will be given two integers. The size of the file and the downloaded amount. Output specification: Show one floating point number with two-digits precision: The remaining percentage of the file whose remaining download percentage is the smallest. Sample Output: 60.00 Sample Input 1: 5 50 30 70 60 80 40 90 70 30 10 Sample Output 1: Sample Input 2: 14.29 4 60 10 50 20 100 20 30 10

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!