subject

An 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.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:00
Determine whether the following careers would require training or college.
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Kto rozmawia z clamentain przez krótkofalówke w the walking dead która śledzi lee w 4 epizodzie
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
When using a public computer or network, you should always
Answers: 2
question
Computers and Technology, 23.06.2019 14:00
Select the correct answer. andre was recently hired by an organization to check for system vulnerabilities. he is supposed to exploit these vulnerabilities and create a report on the extent of damage to which the system was susceptible. what position does andre hold in this organization? a. information security analyst b. information assurance manager c. penetration tester d. network security engineer e. chief information security officer
Answers: 2
You know the right answer?
An athlete runs every day for five days. write a program that computes the total distance and averag...
Questions
question
Mathematics, 02.11.2020 04:30
question
Mathematics, 02.11.2020 04:30
question
Social Studies, 02.11.2020 04:30