Any body please help " tip calculator" in 18 code project | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Any body please help " tip calculator" in 18 code project

1st Sep 2021, 5:35 AM
Neelam Yashasree
4 Answers
+ 1
bill = int(input(50)) x = print(20) tip = print(x / 100) print( float(bill * tip )) I tried like this.! Bro
1st Sep 2021, 6:57 AM
Neelam Yashasree
0
When you go out to eat, you always tip 20% of the bill amount. But who’s got the time to calculate the right tip amount every time? Not you that’s for sure! You’re making a program to calculate tips and save some time. Your program needs to take the bill amount as input and output the tip as a float. Sample Input 50 Sample Output 10.0
1st Sep 2021, 5:50 AM
Neelam Yashasree
23rd Jul 2022, 1:25 AM
BAKARE ABDULJABAR
- 1
doesn't work
8th Feb 2022, 8:07 AM
Priyanshu Kumar
Priyanshu Kumar - avatar