g***@gmail.com
2015-02-11 14:13:16 UTC
i don't know the syntax for visual basic:
prompt user to enter number1
read in number1
prompt user to enter number2
read in number2
so.
Dim number1 As Integer
Dim number2 As Integer
Dim Sum As Integer
Console.WriteLine("Enter first number: ")
'what is the command to read in a number for console application
Console.WriteLine("Enter second number: ")
'what is the command to read in a number for console application
sum = number1 + number2
'what is the command to display the sum for console application
Console.WriteLine( sum )
thanks, i trying to learn vb
g.
prompt user to enter number1
read in number1
prompt user to enter number2
read in number2
so.
Dim number1 As Integer
Dim number2 As Integer
Dim Sum As Integer
Console.WriteLine("Enter first number: ")
'what is the command to read in a number for console application
Console.WriteLine("Enter second number: ")
'what is the command to read in a number for console application
sum = number1 + number2
'what is the command to display the sum for console application
Console.WriteLine( sum )
thanks, i trying to learn vb
g.