// The powers of 2:
int n;
for (n = 2; n <= 128; n = n * 2)
{"n = " + string (n);}
==> n = 2
==> n = 4
==> n = 8
==> n = 16
==> n = 32
==> n = 64
==> n = 128
// The powers of 2 in a nice format
int j;
string space = "";
for (n = 2; n <= 128; n = n * 2)
{
space = "";
for (j = 1; j <= 5  size (string (n)); j = j+1)
{ space = space + " "; }
"n =" + space + string (n);
}
==> n = 2
==> n = 4
==> n = 8
==> n = 16
==> n = 32
==> n = 64
==> n = 128
