You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
int a[5];
|
|
int main() {
|
|
int i = 0;
|
|
while (i < 5) {
|
|
a[i] = i * i;
|
|
i = i + 1;
|
|
}
|
|
i = 0;
|
|
while (i < 5) {
|
|
putint(a[i]);
|
|
putch(32);
|
|
i = i + 1;
|
|
}
|
|
putch(10);
|
|
return 0;
|
|
}
|