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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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