Skip to content

Instantly share code, notes, and snippets.

@Artgerto
Created January 19, 2018 06:55
document.write('Кубы чисел, меньше 5000:');
for(n=1, n<=100, n++) {
s = Math.pow(n,3);
if (s>5000) break;
document.write('<BR>'+n+'<sup>3</sup>='+s);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment