Код: Выделить всё
public class NestedLoop {
public static void main(String[] args) {
int rows = 5;
for (int i = 1; i
Подробнее здесь: [url]https://stackoverflow.com/questions/79204042/inner-loop-does-not-terminate-because-variable-is-being-decremented-instead-of-i[/url]
Мобильная версия