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