0
Create a program that asks a maths calculation and prints if the user answers it right or wrong. Can you change one of
please help me with the solution
4 odpowiedzi
+ 4
You didn't even define the variables x, y and z. Replace them with starting miles, ending miles and gallons used if that's what you want to use.
+ 2
Why not try it yourself? If you get stuck then post your code here and we will help you. 😉
0
#program
startingmiles = float (input ("enter x "))
endngmiles = float (input ("enter y "))
gallonsused= float (input ("enter z"))
average = (x+y+z)/3
print (average)
please help me correct it.thanks
0
thanks bro