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