// Sample Solution
using System;
namespace GettingInput
{
class Program
{
static void Main()
{
/* this program asks the user their age and prints it to the screen */
Console.WriteLine("How old are you?");
string input = Console.ReadLine();
Console.WriteLine($"You are {input} years old!");
}
}
}
No comments:
Post a Comment