Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace ForCycle
- {
- internal class Program
- {
- static void Main(string[] args)
- {
- Console.OutputEncoding = Encoding.UTF8;
- int cycleCount;
- Console.Write("Введите количество повторов: ");
- cycleCount = Convert.ToInt32(Console.ReadLine());
- for (int i = 0; i < cycleCount; i ++)
- {
- Console.WriteLine("Это повтор цикла");
- }
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment