diff --git a/Perfect Numbers/Check Perfect.c b/Perfect Numbers/Check Perfect.c index f5e24d54..0b895d93 100644 --- a/Perfect Numbers/Check Perfect.c +++ b/Perfect Numbers/Check Perfect.c @@ -2,15 +2,15 @@ #include int isPerfect(int num){ - int count=0; - for(int i=1;i +#include int isPerfect(int num){ - int count=0; - for(int i=1;i +#include using namespace std; int isPerfect(int num){ - int count=0; - for(int i=1;i