0

How do you get both test cases on the tip calculator? I can only somehow get one and not the other

14th Apr 2021, 7:09 PM
Adrian Pierson
3 Answers
+ 2
Adrian Pierson, you have the solution formula in the explanation hint " Explanation: 20% of 50 is 10. To calculate 20% of a given amount, you can multiply the number by 20 and divide it by 100: 50*20/100 = 10.0 " https://code.sololearn.com/c4X4gsnFK59e/?ref=app
16th Apr 2021, 4:59 PM
David OrdĂĄs
David OrdĂĄs - avatar
+ 1
Adrian Pierson Please show your attempts.
15th Apr 2021, 11:32 PM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar
0
Hi! Can you show us your code attempt, please?
14th Apr 2021, 9:22 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar