# 12. 13. Write a program that prompts the capacity, in gallons, of an automobile fuel tank...

###### Question:

12. 13. Write a program that prompts the capacity, in gallons, of an automobile fuel tank and the miles per gallon the automobile can be driven. The program outputs the number of miles the automobile can be driven without refueling Write a C++ program that prompts the user to input the elapsed time for an event in seconds. The program then outputs the elapsed time in hours, minutes, and seconds. (For example, if the elapsed time is 9630 seconds, then the output is 2:40:30.) Write a C++ program that prompts the user to input the elapsed time for an event in hours, minutes, and seconds. The program then outputs the elapsed time in seconds. 14. 23. Newton's law states that the force, F, between two bodies of masses M, and M, is given by: F=*(,). in which k is the gravitational constant and is the distance between the bodies. The value of k is approximately 6.67x10- dyn. cm/g. Write a program that prompts the user to input the masses of the bodies and the distance between the bodies. The program then outputs the force between the bodies. 24. One metric ton is approximately 2205 pounds. Write a program that prompts the user to input the amount of rice, in pounds, in a bag. The program outputs the number of bags needed to store one metric ton of rice.

#### Similar Solved Questions

##### Find the current i Constants Express your answer to two significant figures and include the appropriate...
Find the current i Constants Express your answer to two significant figures and include the appropriate units. Use the mesh-current method to find the branch currents ii, i, and in in the circuit in figure (Figure 1) if th-24 V and t-78 V Value Units Submit Part B Find the current i Express your ans...
##### Assume a firm uses the one hurdle rate to evaluate all potential projects. Consider two possible...
Assume a firm uses the one hurdle rate to evaluate all potential projects. Consider two possible cases: (1) The cost of capital for a project under consideration is actually below the firm’s hurdle rate, and (2) the cost of capital for a project under consideration is actually above the firm&r...
##### Need help with the first part of the question, not the article part. below are Ebuy's...
need help with the first part of the question, not the article part. below are Ebuy's ratios below are Amazing company's ratios You have just received a large annual bonus at work, and have decided to invest it in stocks for your retirement. You have been analyzing different stocks an...
##### The aggregate matching function in the Mortensen-Pissarides model of unemployment specifies as a function of a....
The aggregate matching function in the Mortensen-Pissarides model of unemployment specifies as a function of a. Aggregate output; the stocks of capital and labor d. Aggregate employment; Number of hires and separations b. Aggregate number of hires; number of unemployed workers and e. Aggregate numbe...
##### At Sugarland Ltd. prepaid costs are debited to expense when cash is paid and unearned revenues...
At Sugarland Ltd. prepaid costs are debited to expense when cash is paid and unearned revenues are credited to revenue when the cash is received. During January of the current year, the following transactions occurred. Received $11,100 for services to be performed in the future. Paid$3,600 for casu...
##### Question 1] A simple random sample of 50 items from a population with o=6 resulted in...
Question 1] A simple random sample of 50 items from a population with o=6 resulted in a sample mean of 32. a. Provide a 88% Cl for the population mean b. Provide a 80% CI for the population mean c. Provide a 60% Cl for the population mean...
##### Im very confused confused on how to do this problem? [TXT Weverse] YEONJUN OCCHA?'s post. commented...
im very confused confused on how to do this problem? [TXT Weverse] YEONJUN OCCHA?'s post. commented on ||440 Due Sun 04/19/2020 11:59 pm Questions ✓ 1 [7/7] Q 5 [878] ✓ Q 9 [878] 13 [878] Grade: 76/100 Q2 [7/7] Q6 [8/8] Q 10 [878] Q 3 [7/7] Q 4 [7/7] 7 [878] C Q 8 (0/8) Q 11 (0/...
##### Two triangles with the same corresponding sides lengths will be congruent is known as the?
Two triangles with the same corresponding sides lengths will be congruent is known as the?...
##### Excel Problem (to be used with the data in the Excel file): Namata Appliances sells refrigerators....
Excel Problem (to be used with the data in the Excel file): Namata Appliances sells refrigerators. The model seen in the data file is relatively inexpensive. Weekly demand for this model is relatively stable though there is enough variation to challenge management at Namata. Sometimes demand is lowe...
##### Required information [The following information applies to the questions displayed below.) Finlon Upholstery, Inc. uses a...
Required information [The following information applies to the questions displayed below.) Finlon Upholstery, Inc. uses a job-order costing system to accumulate manufacturing costs. The company's work-in- process on December 31, 20x1, consisted of one job (no. 2077), which was carried on the yea...
##### An object with a mass of 6 kg is revolving around a point at a distance of 8 m. If the object is making revolutions at a frequency of 6 Hz, what is the centripetal force acting on the object?
An object with a mass of 6 kg is revolving around a point at a distance of 8 m. If the object is making revolutions at a frequency of 6 Hz, what is the centripetal force acting on the object?...
##### Dy If a ER-1} and b ER({1}, the solution of x- dx + a -y= 1-b...
dy If a ER-1} and b ER({1}, the solution of x- dx + a -y= 1-b a +1 -xy' is 1-b Select one: O a. y 1-6 = x+C+xa O b.y = x+C+x2-1 ocyl-6 =C+x-a od y1-b = x+cx-a oe.yB-1 = x+c+xQ O f. y = x+C+x-2 o g. 71-b = x+C O h. y = x+c+x-a...
##### 20 points Problem 4: Extended Euclidean Algorithm Using Extended Euclidean Algorithm compute the greatest common divisor...
20 points Problem 4: Extended Euclidean Algorithm Using Extended Euclidean Algorithm compute the greatest common divisor and Bézout's coefficients for the pairs of integer numbers a and b below. Express the greatest common divisor as a linear combination with integer coefficients) of a an...