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, 21.06.2019 18:40
Adna sequence encoding a five-amino acid polypeptide is given below. …… …… locate the sequence encoding the five amino acids of the polypeptide, and identify the template and coding strand.
Answers: 1
question
Computers and Technology, 22.06.2019 10:40
5. illustrate how fine-line inventory classification can be used with product and market segments. what are the benefits and considerations when classifying inventory by product, market, and product/market?
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
How are stop motion special effects in animated films created
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
English, 07.07.2019 00:30
question
English, 07.07.2019 00:30
question
Social Studies, 07.07.2019 00:30
Questions on the website: 13722363