+ 1

How can I do this tip calculator?

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

12th Jul 2021, 1:24 PM
HumbleSAM
HumbleSAM - avatar
6 odpowiedzi
+ 2
Look if input 50, and output 10, then it means tip= bill/5 isn't it? Happy coding!🧐😁😁
13th Jul 2021, 1:20 PM
Shadoff
Shadoff - avatar
+ 1
Html???
12th Jul 2021, 3:15 PM
Shadoff
Shadoff - avatar
+ 1
Shadoff No phyton
13th Jul 2021, 1:00 PM
HumbleSAM
HumbleSAM - avatar
+ 1
Ohh okay. I will do that
13th Jul 2021, 1:38 PM
HumbleSAM
HumbleSAM - avatar
+ 1
Sayali Sawant yes sir. Any help?
14th Jul 2021, 8:21 PM
HumbleSAM
HumbleSAM - avatar
0
Html
13th Jul 2021, 5:29 PM
Sayali Sawant