Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class DemoReadConsoleText
- {
- static void Main()
- {
- Console.WriteLine("Въведете име:");
- string name = Console.ReadLine();
- Console.WriteLine("Въведете фамилия:");
- string family = Console.ReadLine();
- Console.WriteLine("От кой град сте?:");
- string town = Console.ReadLine();
- Console.WriteLine("Здравейте, казвам се {0} {1} и живея в {2}.", name, family, town);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement