class Program
{
static void Main(string[] args)
{
double firstNumber, secondNumber;
string userName;
Console.WriteLine("Enter your name: ");
userName = Console.ReadLine();
Console.WriteLine("Welcome {0}!", userName);
Console.WriteLine("Please, type a number:");
firstNumber = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("Now type another number:");
secondNumber = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("The sum of {0} and {1} is {2}.", firstNumber, secondNumber,
firstNumber + secondNumber);
Console.WriteLine("The result of subtracting {0} from {1} is {2}", secondNumber, firstNumber,
firstNumber - secondNumber);
Console.WriteLine("The product of {0} and {1} is {2}", firstNumber, secondNumber,
firstNumber * secondNumber);
Console.WriteLine("The result of dividing {0} by {1} is {2}", firstNumber, secondNumber,
firstNumber / secondNumber);
Console.WriteLine("The remainder after dividing {0} by {1} is {2}", firstNumber, secondNumber,
firstNumber % secondNumber);
Console.ReadKey();
}
}