← Back

Code Challenge 1.5 - Tip Calculator


Objective

Create a console application that helps users calculate the tip amount based on their bill subtotal and a given tip percentage.

Terms

Bill/Subtotal - How much your food and drink cost

Tip/Gratuity - How much money you would like to give your server. For example, people typically tip 15% to 20% of the subtotal.

Total - The sum of the bill and tip amount.

Examples

Skills to Practice

Challenge Tasks

Sample Output

--- Tip Calculator ---
Enter the bill subtotal: 50.00 [Enter]
Enter the tip percentage: 15 [Enter]

Tip amount: $7.50
Total amount: $57.50