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

  A store gives a discount for senior citizens

A store gives a discount for senior citizens

  Describe the graphical coordinate system in java

Describe the graphical coordinate system in Java. Where is the origin? What units apply to the x,y coordinates?

  Draw the logic diagram of a four-bit binary ripple countdown

Draw the logic diagram of a four-bit binary ripple countdown counter(count from 15,14,13,...,0), using D flip-flops that trigger on the NEGATIVE edge of the clock.

  Find a number alpha mod 8745437489 is not a primitive root

using a computer, show that 7 is a primitive root mod 8745437489. Find a number alpha mod 8745437489 that is not a primitive root

  Structured query language

Create the tables and relationships from the database design

  Basic information security mode-critical thinking questions

How could our information infrastructure been more secure if the underlying Internet incorporated security technologies such as encryption?

  Corporate budgeting in terms of paying for it

1. Define the terms allocation, chargeback and corporate budgeting in terms of paying for IT. Give a business advantage and a disadvantage of each. 2.. Briefly define TCO as a way to cost an IT purchase. What are TCO's benefits?

  Explaining process of making changes as recursive

You can view the process of making changes as recursive. You first see if any dollars are required, subtract them from the total, and then make change for what remains. Complete the LISP program to achieve the above requirements.

  Write a program that reads a sentace and counts the number

write a program that reads a sentace and counts the number of alpha characters using the tolower or toupper function along with the isalpha function. Then count vowels using a switch statement. Then i have to give the total number of keystrokes.

  What is the transitive closure of r

Let R be the relation {(a, b) | a divides b} on the set of integers. What is the symmetric closure of R? What is the transitive closure of R?

  Security threats and vulnerabilities of the itrust database

The length of this paper should be 5-7 pages double spaced not inclusive of the title or reference pages and include all completed Tables as appendices. Prepare your report in either Word or PDF format, as your instructor requires, and post it ..

  Each product has a different profit margin

Each product has a different profit margin.  The CoQ-10 product has a 10% profit margin.  This means if $80 is sold, the profit is 0.10*80 or $8.  The profit margin for Iron is 15%, and the profit margin for Zinc is 5% (which is a multiplication fact..

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