Question
Exercise 7.9.4 Practice making a javascript program in html code for the following information: Company C makes money through their tour and travel system. Label
Exercise 7.9.4
Practice making a javascript program in html code for the following information:
Company C makes money through their tour and travel system. Label the top of the webpage "London or Moscow".
Use the destination (London or Moscow), flight type (One way or round trip), hotels (number of nights), tours (full or half tour) as inputs.
Output needs to be total price and final price (both have same answer but final price has %30 surcharge)
Destination: London or Moscow
One way London: 500 Round trip London: 800 , One way Moscow 600 round trip Moscow 1000
Hotel London: 85 per night , Hotel Moscow: 200 per night
Tour London Full: 1500 Tour London Half 900 , Tour Moscow full 1700 Tour Moscow half 1100
Your process button will show content for hotel details text box , and should start with myvariable = yourtextboxvalue
Your clear button resets every variable and starts at 0.
Keep in mind to have the perfect functioning programs, buttons with process and clear, the screen format with radio buttons and boxes, and variable initializations. This is the final exercise dealing with javascript. Please make sure the code is fully functional and good luck.
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