Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Antipatterns Avoiding The Pitfalls Of Database Programming

Authors: Bill Karwin

1st Edition

1680508989, 978-1680508987

More Books

Students also viewed these Databases questions

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago