0

Can someone help me whit the problem "tip calculator" I resolve case one but the second ??I don't know

TIP CALCULATOR

28th Jan 2022, 3:35 PM
Wanderer
Wanderer - avatar
7 Answers
+ 3
Please show your attempt.
28th Jan 2022, 3:41 PM
JaScript
JaScript - avatar
+ 3
First you need to use the variable bill and then second a division with only one /.
28th Jan 2022, 4:08 PM
JaScript
JaScript - avatar
0
Visit my saved works and ull find one on the same
28th Jan 2022, 5:21 PM
Ongora David Otieno
0
bill = int(input()) tip = (bill) * 20 / 100 print (tip)
29th Jan 2022, 3:47 AM
Wanderer
Wanderer - avatar
- 1
bill = int(input()) #tu cĂłdigo va aquĂ­ x = 125.0 x *=20.0 x //=100.0 print (x)
28th Jan 2022, 3:49 PM
Wanderer
Wanderer - avatar
- 1
OK, thank you !
28th Jan 2022, 4:12 PM
Wanderer
Wanderer - avatar