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