Monday, June 13, 2022

Tuition Free Discount Calculator in Visual Basic 6

 A simple program that I wrote to compute the tuition fee discount calculator that I wrote using Microsoft Visual Basic 6.


I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


Want to support my channel?

GCash Account

Jake Pomperada

09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.







Program Listing


Private Sub Command1_Click()
Dim solve_tuition As Double
Dim discount As Double

Select Case True
        Case optcash.Value
        
        ' Cash 10% Discount
            discount = Val(Text1.Text) * 0.1
    
    solve_tuition = Val(Text1.Text) - discount
    
    Text2.Text = Round(Str(solve_tuition), 2)
        Case opttwo.Value
           ' Two Payments 5% interest

    interest = Val(Text1.Text) * 0.05
    
    solve_tuition = Val(Text1.Text) + interest
    
    Text2.Text = Round(Str(solve_tuition), 2)
           
           
        Case optthree.Value
            
            ' Three Payments 10% interest
    
    interest = Val(Text1.Text) * 0.1
    
    solve_tuition = Val(Text1.Text) + interest
    
    Text2.Text = Round(Str(solve_tuition), 2)
    End Select
    



End Sub



No comments:

Post a Comment