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 11:10
Look at the far left lane in the picture. explain what the red car is doing and what it needs to do to travel safely.
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
Which option allows you to view slides on the full computer screen?
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
How should you specify box sizes on a web page if you want the boxes to vary according to the font size of the text they contain? a. in pixels b. in inches c. as percentages d. in em units
Answers: 2
question
Computers and Technology, 24.06.2019 03:30
The footer area of a web page generally houses which website feature? terms of use web page content business name or title menu headings
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, 22.09.2020 04:01
question
Mathematics, 22.09.2020 05:01
question
Physics, 22.09.2020 05:01
question
History, 22.09.2020 05:01
Questions on the website: 13722363