1. In a bank fixed deposit rates are given below.
Period Rate
6 months 8%
12 months 10%
24 months 12%
a. Design Suitable user interface in windows application in VB.NET to calculate interest at maturity. Use Radio buttons for period.
b. Calculate interest at maturity.
c. Calculate total amount at maturity
d. Add a clear button to clear the exiting contents
e. Display an error message when deposited amount is blank

Recommended Answers

All 3 Replies

That seems to be a paid project.

How much ?

See if this helps to get you started.
1 TextBox, 1 Button, 3 RadioButtons

Public Class Form1
    Private dValue, dInterest, dTotal As Double

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        RadioButton1.Checked = True '// check first RadioButton.
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        If TextBox1.Text = "" Then '// If NO value in TextBox.
            MsgBox("Enter value in TextBox.", MsgBoxStyle.Critical)
            Exit Sub '// skip remaining code and Exit the Sub.
        End If
        '// If a value in TextBox.
        dValue = CDbl(TextBox1.Text) '// set value of TextBox as a Double.
        '//-- get Interest.
        If RadioButton1.Checked Then dInterest = dValue * 0.08 '// multiply value by 8%.
        If RadioButton2.Checked Then dInterest = dValue * 0.1 '// multiply value by 10%.
        If RadioButton3.Checked Then dInterest = dValue * 0.12 '// multiply value by 12%.
        '--\\
        dTotal = dValue + dInterest '// get Total.
        '// display result with currency format.
        MsgBox("Interest: " & dInterest.ToString("c") & vbNewLine & "Total: " & dTotal.ToString("c"))
    End Sub
End Class

If you want a Numeric TextBox, then check out this Code Snippet thread.

That seems to be a paid project.

Seems more like a school project.

tnx

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.