VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Simple Interest calculator

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 ...

Rate Simple Interest calculator

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 ....

Download this snippet    Add to My Saved Code

Simple Interest calculator Comments

No comments have been posted about Simple Interest calculator. Why not be the first to post a comment about Simple Interest calculator.

Post your comment

Subject:
Message:
0/1000 characters