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