Код: Выделить всё
public class WhileNest
{
public static void main(String[]args)
{
int rows = 5, i = 1, j = 1;
while(i
Подробнее здесь: [url]https://stackoverflow.com/questions/40890013/using-nested-while-loop-to-print-pyramid-of-stars[/url]Код: Выделить всё
public class WhileNest
{
public static void main(String[]args)
{
int rows = 5, i = 1, j = 1;
while(i
Подробнее здесь: [url]https://stackoverflow.com/questions/40890013/using-nested-while-loop-to-print-pyramid-of-stars[/url]