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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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