Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

To earn credit for this assignment: 1. You will create a JavaScript program - embedded on an HTML file - according to the requirements listed

To earn credit for this assignment: 1. You will create a JavaScript program - embedded on an HTML file - according to the requirements listed on the next page. 2. Upload and submit a single html file (.html extension) containing the code required. PROBLEM DESCRIPTION You are required to create a webpage to implement a program to calculate the total insurance amount based on the logic designed for the previous assignment's flowchart and pseudocode. The webpage will include JavaScript code in order to calculate the total amount of insurance to be paid. You will also follow a precise sequence of inputs and outputs in your program. The original rules about the logic required are listed below: The Friendly Insurance company wishes to rewrite their insurance quote request program and needs a flowchart and pseudocode for their new algorithm. The rules used to process the orders are listed below: Two types of insurance are available for quote, Home and Auto. o Auto insurance price per year are as follows: $1000 per year o Home insurance cost is based on owning or renting Own: $2000 per year Rent: $500 per year Additional Flood Insurance is also offered at $300 per year for home insurance only. This is optional. A No-Deductible option is also offered at $400 per year for auto only. This is optional. A Discount to be subtracted of 3% if you choose to be billed a single time a year or full price when charged monthly. Inputs: Type of Insurance: Home or Auto Type of Home: Own or Rent Additional Flood Insurance: Yes or No. No-Deductible option: Yes or No. Payment type : Single or Monthly Outputs: Total rental price (excluding optional items). Total for the optional items. Discount amount. Total amount of the bill (after processing the discount)

DO NOT USE:

getELementById Method inner HTML property Advanced HTML DOM Events and Event Objects HTML forms Any calls using JQuery

Step by Step Solution

3.39 Rating (171 Votes )

There are 3 Steps involved in it

Step: 1

The HTML file containing the JavaScript code to implement the insurance calculation based on the provided requirements DOCTYPE html html langen head m... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions