- 4

How to write code .?

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 Nov 2021, 4:49 PM
Ashish Mukati
3 Answers
+ 4
Share your code work, so we can see where you got stuck
17th Nov 2021, 4:50 PM
Shivani 📚✍
Shivani 📚✍ - avatar
+ 4
Then start writing one. We can only help from the step you don't understand what to do further.
17th Nov 2021, 4:57 PM
Shivani 📚✍
Shivani 📚✍ - avatar
0
Okk
17th Nov 2021, 4:58 PM
Ashish Mukati