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

  Make use of a constructor to initialize employee information

make use of a constructor to initialize employee information. A payroll program that calculates the employees weekly pay after employee's name, hourly rate, and number of hours worked.

  Write down the normalized entities in the correct format

Write down the normalized entities in the correct format.

  Define difference between a shallow copy and a deep copy

Overload the operator += for the class newString to perform the following string concatenation; suppose that s1 is "Hello" and s2 it "there". Then the statement s1 += s2; should assign "Hello there" to s1, where s1 and s2 are newString objects.

  Discuss software testing as a career path in brief

discuss software testing as a career path in brief. The techniques for solving linear equations and linear inequalities are similar, yet different. Explain and give an example of both a linear equation and a linear inequality that demonstrates this..

  What sorts of network servers and resources

What sorts of network servers and resources.

  What is the proposed solution

At is the definition of run-time errors. What is the proposed solution.

  Spreadsheet model of the heat transfer situation

Spreadsheet model of the heat transfer situation

  Define your usage of the mailing list

plan an E-R Diagram showing each entity, its attributes, and it relationships to the other entities. State any assumptions you make. Also Describe your usage of the mailing list, including the dates and subjects of the postings.

  Why the file manager should grant such requests

why the file manager should grant such requests.

  Provide a java class named "input"

Provide a Java class named "Input" containing the method "readInt" (prototype given below) that displays the prompt string, reads an integer, and tests either it is between the supplied minimum and maximum. If not, it prints an error message and r..

  Which applications are not particularly well-suited

Which of these applications are well-suited for the minimalist Internet multicast service model? Why? Which applications are not particularly well-suited for this service model.

  Plan a use case diagram to represent actors

As Dewey Dezmal enters high-ceilinged, wood-paneled reading room of the Ruminski Public Library, a young woman, seated at a long, oak table, pokes her head out from behind the monitor, sees him and stands, saying, "Welcome. I'm Peri Otticle, the d..

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