That's the code. What happens is the console prints out
Enter a number(a) :
2
Enter a number(b) :
Enter a number(c) :
a + b + c =73
Press any key to continue...
P.S - This is my solution to an exercise I had. The exercise tells me to enter 3 values from the console using integrals.
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter a number(a) : ");
int a = Console.Read();
Console.WriteLine("Enter a number(b) : ");
int b = Console.Read();
Console.WriteLine("Enter a number(c) : ");
int c = Console.Read();
Console.WriteLine("a + b + c =" + (a + b + c));
}
}