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 amounteverytips | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

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 amounteverytips

Please help me to solve this question. I can't able to solve this problem.

4th Jun 2022, 6:26 AM
Shri Om Tiwari
Shri Om Tiwari - avatar
2 Answers
+ 1
Read the task description carefully. * get input * convert input to numeric data type * calculate 20% of the input * output the result If you need help, show your code attempt. If you can't come up with an attempt, it is difficult for you at the moment and you need to revise the lessons.
4th Jun 2022, 6:46 AM
Lisa
Lisa - avatar
+ 1
Thanks
4th Jun 2022, 7:00 AM
Shri Om Tiwari
Shri Om Tiwari - avatar