(Compound Interest Calculator) Create an HTML document that enables the user to calculate compound interest. Provide several TEXT components in which the user can enter the principal amount, the yearly interest rate and the number of years (see the compound interest program of Fig. 10.6 for the calculation of interest). Provide a BUTTON to cause the VBScript to execute and calculate the interest. Display the result in another TEXT component. If any TEXT component is left empty, display a MsgBox in- dicating the error. Use a Function procedure to perform the calculation.
What will be an ideal response?
```
1
2
3
4
5
6
7
21
22
23
24
Enter the principal, interest rate and number of years on deposit. Press
25 the Calculate button to determine the compounded interest.
26
27
28
29
You might also like to view...
Sam is writing a program that displays a conversion table for miles to kilometers in one-mile increments. What control structure(s) will he need to include in his program?
a. repetition and selection b. selection and sequential c. repetition and sequential d. repetition, selection, and sequential
To move a section of text from one part of your document to another, first select the text, then click the _____ button.
A.
B.
C.
D.
____________________ down is the best way to conserve power and prevent battery drain.
Fill in the blank(s) with the appropriate word(s).
A column or bar chart can have two or more data series, but a(n) ________ chart can have only one data series
Fill in the blank(s) with correct word