Programming a Tip Calculator based on user input

In today’s code I’ll show you how to program a Tip Calculator. By asking the user questions, we can calculate for the user how much each person should pay to have a fair equal bill.

In the code below there will be extra attention to functions that will be handy when working with numbers. For example converting them to an integer (whole number), or rounding them at 2 decimals.

Leave a Reply

Your email address will not be published. Required fields are marked *