a = 1;
int b = 1;
for (int i = 1; i <= n; i++) //come back to this later
{
System.out.print(a + " ");
Type: Posts; User: HeroFlame
a = 1;
int b = 1;
for (int i = 1; i <= n; i++) //come back to this later
{
System.out.print(a + " ");
I'd post my code, but unfortunately I'm at school and can't access the necessary files for BlueJ on the school server. Thanks anyways.
That really doesn't help me. I realize what I'm supposed to do, but I can't figure out how to do it.
I'm aware of the sequence for some, not all.
I'd post the code I have if I was at school at the moment.
Sequences for n = 5:
1 2 6 12 20
1 2 6 24 120
1 4 9 16 25