Prompt method to get the investment amount

Assignment Help Basic Computer Science
Reference no: EM131002776

1. Open and test the application

A. Add the code for the option buttons

Modify the the JavaScript code so it provides for the option buttons. When the user click the Yearly Interst button, the application should compound the interest yearly, when the user clicks the Monthly Interest button, the application should compound the interest monthly

B. Add the code to the check box and text area

- Modify the JavaScript code so it displays a message in the text area when the check box is checked. If , for example, the user selects a value of $5000, the message in the text area should look like this:

Future Value of $5000

When compounded monthly: 5415.00

When compounded yearly: 5400.00

C. Use the prompt method to get other investment amounts

- Modify the JavaScript code so it uses the prompt method to get the investment amount when the user selects "other value" from the drop-down lists. (Remember that the parseFloat method returns NaN if the parameter isn't a valid numeric value.)

D. Add two event handlers

- Add an event handler that clears the years text box when the user double-clicks on it.

- Add an event handler for the onchange event of the investment control. This event handler should call the calculate_click event handler, but only if the years text box contains a valid number

2. Monthly Balance Calculator

User interface

Interface.JPG

Operation

• This application allows the user to enter deposits and withdrawals for a bank account, and it calculates and displays the deposits and withdrawals with a running balance as well as the starting balance, total deposits, total withdrawals, and ending balance.

Specifications

• Store the transactions in an array of arrays.

• Use functions to organize the code for this application.

• Assume that the account will have a starting balance of 2000.

• Assume that the user will enter valid data

Reference no: EM131002776

Questions Cloud

What is the difference between an acquisition and a merger : What is the difference between an acquisition and a merger?
A non-governmental organization : You work for a Non-Governmental Organization who are into provision suitable drinking water needs for needy and deprived communities in the Brong Ahafo Region of Ghana.  The Organization has recently sunk forty (40) boreholes in some of the communiti..
Conflict resolution research and to critically review : his Essay assignment requires you to find at least five quality sources which report on a particular aspect or theme of negotiation or conflict resolution research and to critically review their findings. Please check requirement.
Identify the null hypothesis and the alternative hypothesis : Mimi is interested in testing the claim that more than 75% of the adults believe in global warming. She conducted a survey on a random sample of 100 adults. Identify the null hypothesis and the alternative hypothesis. Determine the test statistic...
Prompt method to get the investment amount : Modify the the JavaScript code so it provides for the option buttons. When the user click the Yearly Interst button, the application should compound the interest yearly, when the user clicks the Monthly Interest button, the application should comp..
Sachs brands defined benefit pension plan : Calculate the effect of the change in the assumed discount rate on the PBO at the beginning of 2012 with respect to Davenport.
The student is required to find five sources : The student is required to find five sources related to the topic, with a least two being electronic sources and two paper sources. the student has to briefly describe the content of each source and evaluate it as to its reliability for content and a..
Endorsed a cheque and then subsequently lost : If I endorsed a cheque and then subsequently lost it. Someone (Person A) found the cheque and then negotiated it to another person (Person B) for value but not in good faith, and then the bank paid out the cheque to Person B. Who do I have a claim ag..
Entered into an oral agreement with tom to leaseapartment : OnDecember 15, Lisa, a landlord, entered into an oral agreement with Tom to leaseapartment 5W to Tom for one year staring January 1, at a rental of $ 2000 permonth. On the same day Lisa hired Jarvis as superintendent of the building fora period of on..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Determine number in cs register

If code segments for the 8086 program start at address 70400H, what number will be in CS Register? Suppose the same code segment base.

  Determining the input size

An algorithm takes 0.5 ms for input size 100. How long will it take for input size 500 if the running time is the following (assume low-order terms are negligible)?

  Modify the btod procedure

Modify the BTOD procedure so that leading zeros are replaced by blanks. For example, if the result is "0" - "5" - "9," the leading 0 in the hundreds position gets replaced by a blank, giving " " - "5" - "9."

  Effort required for various project

Estimation of the effort required for various project tasks is one of the toughest assignments for a project planner. In an organization, who is the best judge for the effort needed for specific tasks? Please explain the basis for your answer.

  Involved in implementing a database for the restaurant

Draw a conceptual ER diagram in Information Engineering format as discussed in the course that  describes the following aspects involved in implementing a database for the restaurant.

  Write a code fragment that adds even numbers from 0 to 10

Write a code fragment that adds the even numbers from 0 to 10

  Scenario of tampering and manipulating http

Devise a scenario of tampering and manipulating HTTP requests and responses to and from this HTTP Sandbox web site using Fiddler, collect the results you received, and document your work. Your documented work must include:

  Creating a domain model class diagram

Creating a Domain Model Class Diagram

  Security threat report

Analyze the major threats to mobile devices, and suggest at least two (2) methods to mitigate the concerns and make the devices more secure from an organizational standpoint. Justify your response.

  Cell e2 that will calculate gross pay.

Part 1: Write a formula as if it were in Cell E2 that will calculate gross pay. Write the formula so that it may be copied to the other employees without modification.

  Define memory and describe types of its

Define memory. Describe types of memory, including implicit and explicit memory and declarative and procedural memory.

  Discuss the advantages of using procedures

Discuss the advantages of using procedures. Discuss how 80x86 procedures can be called from high-level programs or high-level procedures.

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