Unnamed
public text v1 · immutable#include <stdio.h>
#define MAX_SIZE 100
#define MAX_NUM 100
int main() {
int array[MAX_SIZE] = { 0 };
int i, j = 0;
for (i = 1; i<=100; i++) {
if (((1.0/(float)i)*(float)i) != 1.0) {
array[j] = i; j++;
}
}
for (i = 0; i < j; i++)
printf("%d\n", array[i]);
return 0;
}