by ComputerWhiz (4 Submissions)
Category: Math/Dates
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (5 Votes)
This is a program made to calculate interest !
This is for Beginners !...
Comments and Votes will be very highly appreciated ...
Make three textboxes with the names :-
txtPrinciple
txtRI
txtTime
Respectively .
Then make a command button and name it cmdAnswer .
Then make a variable - AnswerGot
i.e
dim AnswerGot
After that ,make a label control and name it lblAnswer
Now ,in the click event of the cmdAnswer add this code :-
lblAnswer.Caption = AnswerGot
AnswerGot = txtprinciple * txtRI * txtTime / 100
***
Now the total form's code should look something like this ...
Dim AnswerGot
Private Sub Command1_Click()
lblAnswer.Caption = AnswerGot
AnswerGot = txtprinciple * txtRI * txtTime / 100
End Sub
_________________________________________________
*****
Please vote for this article .I will very highly appreciate your voting ....