Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Ijunior
- {
- internal class Program
- {
- static void Main(string[] args)
- {
- string userInput;
- int number;
- Console.Write("Введите фразу: ");
- userInput = Console.ReadLine();
- Console.Write("Введите количество повторений: ");
- number = Convert.ToInt32(Console.ReadLine());
- for (int i = 0; i < number; i++)
- {
- Console.WriteLine(userInput);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement