This commit is contained in:
2025-05-07 14:05:25 +03:00
parent 785c2b0e50
commit 50a27f1d6c
7 changed files with 128 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#include <stdio.h>
#include "isPerfect.c"
int main(void) {
/*puts("Enter a int!");
int num;
scanf("%d", &num);
printf("%d\n", isPerfect(num));*/
for(int i = 0; i < 1000; i++) {
if(isPerfect(i)) {
printf("%d ", i);
}
}
puts("");
return 0;
}