subject

Driving is expensive. write a program with a car's miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 10 miles, 50 miles, and 400 miles.

ex: if the input is 20.0 3.1599, the output is:

1.57995 7.89975 63.198

needs to be in coral language

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
Create a word problem that involves calculating the volume and surface area of a three-dimensional object. cube: surface area 6 s2 , volume s3
Answers: 3
question
Computers and Technology, 22.06.2019 11:00
in 2007, floridians died in alcohol-related collisions.a.  501b.  1,051c.  5,015d.  10,839
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
Jean has kept the content of her website limited to what is important; she has also ensured that the text follows a particular style and color all throughout her website. which website features has jean kept in mind? jean has limited the content of her website to what is important; this ensures (clarity, simplicity, harmony and unity) of the content. she has also formatted the text in a particular style and color throughout her website, ensuring (balance, simplicity, consistency)
Answers: 2
question
Computers and Technology, 24.06.2019 11:00
In three to five sentences, describe how you can organize written information logically and sequentially
Answers: 1
You know the right answer?
Driving is expensive. write a program with a car's miles/gallon and gas dollars/gallon (both floats)...
Questions
question
Mathematics, 11.01.2021 14:00
question
English, 11.01.2021 14:00
question
Mathematics, 11.01.2021 14:00
question
Mathematics, 11.01.2021 14:00
question
Geography, 11.01.2021 14:00
Questions on the website: 13722360