Question: a) Write a program that produces the output below. Use three variables to track the hours, sq ft per hour and total surface. 1 -

 a) Write a program that produces the output below. Use three
variables to track the hours, sq ft per hour and total surface.

a) Write a program that produces the output below. Use three variables to track the hours, sq ft per hour and total surface. 1 - Enter number of hours worked: 2 Enter sq ft of grass mowed hourly: 1250 You mowed 2500 sq ft of 1 awn. b) Rewrite the program using two variables only: hours and sq ft per hour. Do the computation inside the printf statement. Write a program that reads the scores of three students, outputs them and prints the average score. Declare all variables as integers and do an integer division. Your output format should match the box below. Enter the score of John: 80 Enter the score of Lisa: 90 Enter the score of Ken: 87 John, Lisa and Ken scored 80,90 and 87 , respectively. Their average is: 85

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!