Day 59 Intermediate
Challenge 59 of 100
Calculate Tip
As a diner, I want to easily calculate the total bill with a tip and split it among multiple people, so that I can quickly determine how much each person owes.
Acceptance Criteria
- ✓ Allow users to input the total bill amount.
- ✓ Provide options to select a tip percentage (10%, 15%, 20%, 25%).
- ✓ Enable the bill to be split among a specified number of people.
- ✓ Display the calculated base amount, tip amount, total amount, and per person cost.
- ✓ Include a reset button to clear all inputs and calculations.
100 Days of Code Progress Day 59 / 100
Take this challenge
Start your 7-day free trial to solve this challenge in our built-in code editor with live preview.
Start 7-Day Free Trial to Solve This Challenge