Код: Выделить всё
Console.Write("Enter a number: ");
int num = Int32.Parse(Console.ReadLine());
for (int i = 1; i
Подробнее здесь: [url]https://stackoverflow.com/questions/78682708/beginner-in-c-stuck-in-a-loop-and-if-statement[/url]Код: Выделить всё
Console.Write("Enter a number: ");
int num = Int32.Parse(Console.ReadLine());
for (int i = 1; i
Подробнее здесь: [url]https://stackoverflow.com/questions/78682708/beginner-in-c-stuck-in-a-loop-and-if-statement[/url]