There's a function called printf used for formatting console output.
Type: Posts; User: mstabosz
There's a function called printf used for formatting console output.
The standard tip rate isn't 15%, it's 0.15 when you actually calculate. So you would want to update whichever variable represents the tip amount to reflect that.