Int i = 1;
Int j = 1;
Int k = 1;
Int iBil;
Begin
print("Masukkan Level: ");
for (i=0; i<=iBil; i++)
{
for (int j = 1; j <= iBil - i; j++)
print(" ");
{
for (k = 1; k <= i; k++)
{
if (k==0||i==k)
print(i + " ");
}
}
printnl();
}
End
0 komentar:
Posting Komentar