Question: Write a script that creates a tip calculator. The user should be able to enter the amount of the bill, the tip percentage, and the

Write a script that creates a tip calculator. The user should be able to enter the amount of the bill, the tip percentage, and the number of people. The calculator should calculate the tip amount, the total of the bill plus the tip, and the total per person, which assumes the check is being split equally. Note: You do not have to open a prior exercises to complete this.

You may find it useful to use the Date object, and to create variables to store elements of the date.

When you open your form for the first time, it should resemble this:

Write a script that creates a tip calculator. The user should be

If there are two people, and the bill is $100, and the tip is 20%, your output should resemble this:

able to enter the amount of the bill, the tip percentage, and

Tip Calculator Bill Tip %; # ofPeople: 11 Tip amount: Total: Total per Person: 0 (enter as a whole number)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!