Module Simple_calc
Sub Main()
Dim num1, num2, sum As Integer
Console.Write("Enter First Number: ")
num1 = Console.ReadLine()
Console.Write("Enter Second Number: ")
num2 = Console.ReadLine()
sum = num1 + num2
Console.Write("The sum is " & sum)
'Console.Write("The sum of "& num1 "and" & num2 "is" & sum)
Console.ReadLine()
End Sub
End Module
How can i make it like this " The sum of x and x is x "
It is like this in c++
cout<<"The sum of"<<num1<<"and"<<num2<<"is"<<sum;
Thanks