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 ti | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
- 1

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 ti

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

17th Jun 2021, 4:20 PM
Swetha Poppoppu
2 Réponses
+ 1
Swetha Poppoppu Try by yourself.
17th Jun 2021, 4:23 PM
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜ - avatar
0
I don't have the time to calculate the right tip of every time and I also don't have the time to make the code for you.
17th Jun 2021, 4:34 PM
The future is now thanks to science
The future is now thanks to science - avatar