0

When you go out to eat, you always tip 20% of the bill amount. How do I make this code??

Something like this. It is a tip calculator https://code.sololearn.com/cuy1DG4BZet8/?ref=app

17th Feb 2021, 1:01 AM
Karine
Karine - avatar
2 Antworten
0
20% is equivalent to 0.2 For example if a number is multiplied by 0.2, you are also solving for its 20%.
17th Feb 2021, 1:25 AM
noteve
noteve - avatar
- 1
what is the problem you are encountering? please post your most recent code using the code playground.
17th Feb 2021, 1:27 AM
Wilbur Jaywright
Wilbur Jaywright - avatar