Question: Section D. Programming and implementation (20 points for 2 questions, 10 points per question). 1.Savings acco is P, the stated interest unts state an interest
Section D. Programming and implementation (20 points for 2 questions, 10 points per question). 1.Savings acco is P, the stated interest unts state an interest rate and a compounding period. If the amount deposited rate is r, and interest is compounded m times per year, then the after one year is P * (1 + m. For instance, if $1000 is deposited at 3% interest compounded quarterly (that is 4 times per ye after one year 0.03 1000 * (1 + Interest rates with different compounding periods cannot be concept of APY (annual percentage yield) must be used to make the = 1000 * 1.0075-$1,030.34 erest rates with differeno.(1+ty.oo.nthent compared d recty, The comparison. The APY for a stated interest rate r compounded m times per year is defined by APY = (1 +m)m-1 (The APY is the simple interest rate that yields the same amount of interest after one year as the compounded annual rate of interest) Write a program to compare interest rates offered by two different banks and determine the most favourable interest rate. Hint given the following interface, use If-Elself..End If to write your code inside the ComputeButton' s click event sub procedure so that when the application users type two values of r in textbox1 and textbox2 respectively, and two values of m in textbox3 and textbox4 respectively, and click the button, the corresponding APY will be shown in textboxs and textbox6, and the best bank will be displayed in the textbox7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
