Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string userInput;
- int repeatsCount;
- Console.Write("Введите сообщение:");
- userInput = Console.ReadLine();
- Console.Write("Введите кол-во повторений:");
- repeatsCount = Convert.ToInt32(Console.ReadLine());
- for (int i = 0; i < repeatsCount; i++)
- {
- Console.WriteLine(userInput);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement