0

Can someone help me with this? I’m stuck with this for so long now.

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

3rd Feb 2022, 1:50 PM
teyo_008
teyo_008 - avatar
2 ответов
+ 2
50*20.0/100=10.0
3rd Feb 2022, 1:52 PM
Jayakrishna 🇮🇳
+ 2
bill = int(input()) tip=("100÷50%20") print("x") #your code goes here
10th Feb 2022, 3:28 PM
Mario Fiorino