The following compilation code issues an error: error: (15, 23) Java: not a statement in this line: for (j = 1, j & lt; = i; j ++; k ++)
Answer 1, Authority 100%
The first for wrote correctly, and the second is not. Instead of ,
you need ;
.
for (j = 1; j & lt; = i; j ++, k ++)
{
System.out.printLN (K + "");
}