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