by Tahir Hussain Turi (3 Submissions)
Category: Math/Dates
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 19th January 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)
To find the net profit of goods you sold
Dim purchase, sale, profit As Integer
purchase = Val(Text1)
sale = Val(Text2)
profit = sale - purchase
Text3 = profit
End Sub