Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _07._Greeting
- {
- class Program
- {
- static void Main(string[] args)
- {
- string firstName = Console.ReadLine();
- string lastName = Console.ReadLine();
- int age = int.Parse(Console.ReadLine());
- Console.WriteLine($"Hello, {firstName} {lastName}. You are {age} years old.");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement