Question: Additional Information: Be sure to include a comment with your name and section in the part of your HTML code program. To simplify the comparison

Additional Information:
Be sure to include a comment with your name and section in the part of your HTML code
program.
To simplify the comparison of text data entered by the user, it is often easier to convert this text
to upper case using the notation below.
Syntax example: textVariable = textVariable.toUpperCase();
Syntax example for prompt function:
var myName = prompt(Enter your name);
Syntax example for alert function:
alert(My name is + myName);
Syntax example for displaying a number with a precision of 2 decimals:
alert(The number is + someNumber.toFixed(2));
Note: .toFixed(2) might not produce a precise rounding in some cases. Well use
it as is.
Syntax example to use toFixed(2) to display a number that was captured directly via a text box
(as illustrated below, a previous line would be required prior to the display):
numberWins = Number(numberWins);
alert("The number is "+ numberWins.toFixed(2));
Syntax example to display output in separate lines using escape mechanism
(the following
example will display the contents of variables x and y in separate lines inside an alert window):
alert(x +
+ y);
e required to create a web page to implement a program to process data related to a tennis club vascu on the logic designed for the previous assignment's flowchart and pseudocode. The web page will include JavaScript code in order to calculate Total Price, Sales Tax and Final Cost of the bill. You will also follow a sequence of inputs and outputs in your program.
The original rules about the logic required are listed below:
A travel agency offers a variety of different packages for visiting several regions in Spain. Each package includes accommodations for a certain number of nights at a hotel within the region being visited.
To increase the amount of customers using this agency to travel, the agency has started to offer premium packages that come with extra benefits.
- Length of trip:
- Hotel accommodations cost \$200 per day
- A trip length of 7(or more) days will receive a 10\% discount on hotel costs
- Transportation and tour guide services:
- Rent transportation vehicle \(\$ 150\) per day
- Private tour guide \(\$ 200\) per day
- At the end of the purchase, two levels of premium packages will be offered, Silver or Gold.
- Customers can choose either one (or none) of the two.
- Silver premium packages cost \(\$ 100\) and provide a \(10\%\) discount on transportation and tour guide services
- Gold premium packages cost \$200 and provide a 20\% discount on all purchases (including the package cost)
Inputs:
- Number of Days: Integer
- Transportation Vehicle: Yes or No
- Tour Guide: Yes or No
- Premium Package: Yes or No
- Premium Type: Silver or Gold
Outputs:
- Total price (pre-tax).
- Discount.
- Sales Tax amount to be added to the bill (7\% rounded to two decimals).
- Final Cost of the bill (including the tax).
Additional Information: Be sure to include a

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 Programming Questions!