subject

Gan athlete runs every day for five days. write a program that computes the total distance and average distance ran by the athlete. the program should ask the user for the number of miles run on each day (monday to friday), and save the values entered by the user in five different variables. the program should first calculate the total miles ran by the athlete and store the result in a variable named sum. then the program should compute the average distance covered and store it in a variable named average. display the total distance and the average distance on the screen. name your program file hw1_q1_code. c. (tip: use scanf function, and float/double data type for all variables)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:00
The three logical operators used to write compound conditions are "and," "or," and "not." a: true b: false
Answers: 2
question
Computers and Technology, 23.06.2019 04:20
Which network media uses different regions of the electromagnetic spectrum to transmit signals through air? uses different regions of the electromagnetic spectrum to transmit signals through air.
Answers: 2
question
Computers and Technology, 23.06.2019 23:00
How do you know if the website is secure if you make a purchase
Answers: 2
question
Computers and Technology, 24.06.2019 20:10
Approximately what portion of global employers tends to use social media websites to hire new employees?
Answers: 1
You know the right answer?
Gan athlete runs every day for five days. write a program that computes the total distance and avera...
Questions
question
Mathematics, 19.06.2020 04:57
question
Mathematics, 19.06.2020 04:57
Questions on the website: 13722363