using System;
public class Program
{
public static void Main()
int num1;//Create an int variable
num1 = 10;//then initialise it with the number 10
Console.WriteLine(num1);//Display num1 to the user
int num2 = 20;//Create an initialise a variable on a single line
Console.WriteLine(num2);//Display num2 to the user
Console.Write("Please enter your name: ");
string name = Console.ReadLine();//This will take the input and save it as a string in the variable name
/*Note that a Console.Readline() will take in everything as a string*/
Console.Write("Please enter your age: ");
int age = int.Parse(Console.ReadLine());//The .Parse method will convert a string into a different type, in this case an int
Console.WriteLine("Hello {0}, you are {1} years old",name,age);
}