Design a web page named taxes.html

Assignment Help Computer Engineering
Reference no: EM1337888

Create a Web page named taxes.html and enter the IncomeTax function into the HEAD (enclosed in SCRIPT tags). In the BODY of the page, prompt the user to enter values representing his or her income and itemized deduction. The page should call the IncomeTax function and then display the amount of tax owed.
Use your page to determine the amount a person would owe with:
income = 100000.00 itemized = 12017.50
income = 42500.00 itemized = 8900.99
income = 13267.45 itemized = 14000.00

the given function for the income calculator
function IncomeTax(income, itemized)
// Assumes: income >= 0, itemized >= 0
// Returns: flat tax (13%) due after deductions
{
var deduction, taxableIncome, totalTax;
deduction = Math.max(itemized, 4150);
taxableIncome = Math.max(income - deduction, 0);
totalTax = 0.13*taxableIncome
return totalTax;
}

Reference no: EM1337888

Questions Cloud

Long term financing-us initial public offerings : Explain the U.S. initial public offerings (IPO) market and its importance.
Explain entrepreneurial time management : Explain Entrepreneurial Time Management and How can entrepreneurs balance their time to ensure that the urgent doesn't crowd out the important
Show your selection of the determinants of demand and supply : More demand and supply should be included in your analysis Warning: you are not required to "prove" or show your selection of the determinants of demand and supply. But your discussion and selection must be reasonable.
Explain identifying consumer segments : Explain Identifying Consumer Segments and Can you have a business without having identified your customers
Design a web page named taxes.html : design a Web page named taxes.html and enter the IncomeTax function into the HEAD (enclosed in SCRIPT tags). In the BODY of the page, prompt the user to enter values representing his or her income and itemized deduction. The page should call the I..
Changing the degree of operating leverage : How does this change the degree of operating leverage? Now recompute the operating leverage assuming that the entire ¥ 33 billion of costs are fixed.
Business research help : What is the importance pf ethics when conducting research? What is "the language of research"? What is "the research process"?
System development life cycle : Give the reason that a business would not use the System Development Life Cycle and why?
Influences of republican and imperial rome : What were the major influences of organizational forms for Republican and Imperial Rome?

Reviews

Write a Review

Computer Engineering Questions & Answers

  What aspects of environment support structure of colleges

What aspects of environment support structure of colleges.

  Write down a not so bad cardiac simulator

The user has to be prompted to type in a 3 digit number, and then the program should print to the screen whatever the CARDIAC Instruction Decoder box would show had that been the instruction.

  Generating a brand new database for a company

If you were preparing to generate a brand new database for a company, explain whether you think there is the necessity of interviewing the users to find out what the colors and the designs they like.

  Examine your thoughts on the effects of indexes

Discuss the thoughts on the effects of indexes, data types, filegroups, and transaction logs on space considerations. Which of those database constructs do you feel are most important to manage when it comes to database size considerations.

  How to create a javascript program

Create a JavaScript program that declares and prints an array that contains at least 20 of your favorite songs. For each song, determine the best means for storing the year it was published.

  Define mitigation strategies to enable business continuity

It is estimated that three out of five businesses that experience downtime of 48 hours or more will be out of business within 3 years. Creating a technology risk mitigation and data protection plan requires people, method  and technology in the ri..

  Explain the concept of programmability

how this benefits the purchaser of a console gaming system, such as the XBox.

  Definition of data mining

In the Data Mining the first step to address this question is to carry out the appropriate research through the Web. Utilizing what you have found on Web, address the following questions in detail. To receive the full credit, you should supply URL..

  Controlling congestion in error-free virtual circuit subnet.

Consider the following method for congestion control in the error-free virtual circuit subnet. A router may only transmit ACK for a received packet if it knows packet transmission along with the virtual circuit through subsequent routers is succes..

  Developing erd on basis of crows foot model

Develop an ERD based on Crow’s Foot model, utilizing the following requirements. An INVOICE is written by a SALESREP. Each sales representative may write several invoices, however each invoice is written by the single sales representative.

  What is the dissimilatries between rfp and rfq

What is the dissimilatries between an RFP and an RFQ? Are they different, or the same? How does RFI associated to them

  Findout which one is false statement

Findout which one is false statement.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd