Question
7.5- Make a webpage with javacript in html code with the following information at hand: Company C has created a tour package with the following
7.5- Make a webpage with javacript in html code with the following information at hand:
Company C has created a tour package with the following details.
The destination for the consumer is between London and Moscow (use as inputs).
Transportation will be flying, and includes a choice of a one way ticket or round trip (use as inputs).
There is a full tour and half tour. The full tour of Moscow is 5,000 and half tour is 2,800. The full tour of London is 3,500 and the half tour is 1950 (Use as inputs).
A round trip for Moscow is 1500 and one way is 680.
A round trip for London is 1900 and one way is 1200.
The hotel per night in Moscow is 580 and London is 650 (Use as inputs).
Output needs to be the final price of the trip (Choose from 4 days to 10 days)
Important to use: Number(), textvariable, var yourname, alert(my name is), alert("the number is" + somenumber .tofixed (2)
What this is graded on: correct coding and flow, prompt() function, if statements, alert(functions), and how it all looks.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started