0

Meal= int (input ()) can anyone tell me why this wornt work?

for a bill toatal code

12th Nov 2017, 3:25 PM
Dryden
Dryden - avatar
5 Réponses
+ 4
meal = float(input()) will work for 45.67
12th Nov 2017, 3:44 PM
Tim Thuma
Tim Thuma - avatar
+ 4
What is your problem here? It works fine
12th Nov 2017, 3:34 PM
Tim Thuma
Tim Thuma - avatar
0
#how much is your bill meal= int(input()) tax=12.0/100 tip=15.0/100 meal= meal+ meal *tax meal= meal+meal*tip print (meal
12th Nov 2017, 3:40 PM
Dryden
Dryden - avatar
0
) at the end
12th Nov 2017, 3:41 PM
Dryden
Dryden - avatar
0
how do i get it to work with 45.67
12th Nov 2017, 3:43 PM
Dryden
Dryden - avatar