0
How do you get both test cases on the tip calculator? I can only somehow get one and not the other
3 Respostas
+ 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
+ 1
Adrian Pierson
Please show your attempts.
0
Hi! Can you show us your code attempt, please?