Mode:
Duration:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Module Program
Function Add(a As Integer, b As Integer) As Integer
Return a + b
End Function
Function Subtract(a As Integer, b As Integer) As Integer
Return a - b
End Function
Function Multiply(a As Integer, b As Integer) As Integer
Return a * b
End Function
Function Divide(a As Integer, b As Integer) As Integer
Return a b
End Function
Sub Main()
Console.WriteLine($"Add 5 + 3: {Add(5,3)}")
Console.WriteLine($"Subtract 5 - 3: {Subtract(5,3)}")
Console.WriteLine($"Multiply 5 * 3: {Multiply(5,3)}")
Console.WriteLine($"Divide 6 / 2: {Divide(6,2)}")
End Sub
End ModuleCoding works best on desktop or with an external keyboard.