Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Using Visual Basics, write a program: When $1000 is invested at 5 % simple inter

ID: 3569393 • Letter: U

Question

Using Visual Basics, write a program:

When $1000 is invested at 5 % simple interest, the amount grows by $50 each year. When money is invested at 5 % interest compounded annually, the amount at the end of each year is 1.05 times the amount at the beginning of that year. Display the amounts for 9 years for a $1000 investment at 5 % simple and compound interest.

Needs to look like:

Using Visual Basics, write a program: When $1000 is invested at 5 % simple interest, the amount grows by $50 each year. When money is invested at 5 % interest compounded annually, the amount at the end of each year is 1.05 times the amount at the beginning of that year. Display the amounts for 9 years for a $1000 investment at 5 % simple and compound interest. Needs to look like:

Explanation / Answer

    Public Class Form1
   
        Private Sub btnDisplay_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDisplay.Click
            Dim AmountCompound As Double = 1000 * 1.05
            Dim AmountSimple As Double = 1000 + 50
            Dim Year As Integer = +1
            Dim Y1 As ListViewItem
   
            For Year = 1 To 9
                Y1 = ListView1.Items.Add(CStr(Year))
                Y1.SubItems.Add(FormatCurrency(AmountSimple))
                Y1.SubItems.Add(FormatCurrency(AmountCompound))
   
                AmountSimple += 50
                AmountCompound = AmountCompound * 1.05
   
            Next
   
        End Sub
   
   
   
    End Class

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote