Write a program to calculate two number in visual basic
Answers
Answered by
0
Explanation:
Module Module1
Sub Main()
Dim a As Integer
Dim b As Integer
a = 10
b = 5
'Sum of a And be
Console.WriteLine("Sum of two numbers: " & (a + b))
'Submission of two number
Console.WriteLine("Submission of two numbers: " & (a - b))
'Division of two number
Console.WriteLine("Div of two numbers: " & (a / b))
'Multiplication of two number
Console.WriteLine("Mul of two numbers: " & (a * b))
Console.ReadLine()
End Sub
End Module
Similar questions