+ 1
I hate math but I like learning
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
1 Respuesta
0
Change the integer form to float.
You can check the ways of the transformation.
I hope, it helps. Happy coding!
https://code.sololearn.com/cRfySS5m9LXi/?ref=app