VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Easy Math

Demian Net  (14 Submissions)   Math/Dates   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

Do math, add, subtract, multiply, divide

API Declarations
Option Explicit

Public Sub Multiply(X As Integer, Y As Integer)
Dim Z
Z = X * Y
Text3.Text = Str(Z)
End Sub

Public Sub Subtract(X As Integer, Y As Integer)
Dim Z
Z = X - Y
Text3.Text = Str(Z)
End Sub

Public Sub Add(X As Integer, Y As Integer)
Dim Z
Z = X + Y
Text3.Text = Str(Z)
End Sub

Public Sub Divide(X As Integer, Y As Integer)
Dim Z
Z = X / Y
Text3.Text = Str(Z)
End Sub

Rate Easy Math (5(5 Vote))
Easy Math.bas

Easy Math Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters