I'm struggling in getting the formula | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

I'm struggling in getting the formula

Write a program that promots the capacity , in gallons, of an atomobil fuel tank and miles per gallon the automobile can be driven.the program outputs the number of Miles automobile can be driving without refueling.

30th Oct 2020, 9:12 AM
Seraphina
Seraphina - avatar
1 Resposta
+ 2
It is basically asking inputs as the capacity of fuel tank in gallons and how many miles you can cover per gallon , So after you have miles per gallon number and fuel tank capacity just multiply both
30th Oct 2020, 9:57 AM
Abhay
Abhay - avatar