Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Code Academy help… Re: Code Academy help…

#116534
Watson90
Member

@tbwiii

Thanks so much :) I had to amend it a tiny bit but you were right;

for (var i = 100; i <= 150; i++) { if (i % 2) {
print (i * i);
}
else {
print (i);
}

} //End of for statement