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 21:00
Is it ok to use a does red wine clean the inside of a computer true or false
Answers: 2
question
Computers and Technology, 22.06.2019 11:00
When working with a team you should always do the following, except? question 3 options: be dependable and trustworthy be sensitive to others feelings do your fair share critique members of the group
Answers: 2
question
Computers and Technology, 22.06.2019 18:00
Write a method named addall that could be placed inside the hashintset class. this method accepts another hashintset as a parameter and adds all elements from that set into the current set, if they are not already present. for example, if a set s1 contains [1, 2, 3] and another set s2 contains [1, 7, 3, 9], the call of s1.addall(s2); would change s1 to store [1, 2, 3, 7, 9] in some order. you are allowed to call methods on your set and/or the other set. do not modify the set passed in. this method should run in o(n) time where n is the number of elements in the parameter set passed in.
Answers: 2
question
Computers and Technology, 23.06.2019 03:50
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
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, 17.03.2020 21:57
question
Mathematics, 17.03.2020 21:57
question
Physics, 17.03.2020 21:57
question
Mathematics, 17.03.2020 21:57
Questions on the website: 13722360