All pastes #581812 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-06-21 18:36 UTC
rendered paste body
#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;
}