Q: Write a program to check whether a number is prime or not?
(A number said to be perfect if sum of all factor less than given number then equal to given number)Input : 6
Solution :
/* ################################
Girfa Student Help
Perfect Number
for more visit :
http://girfahelp.blogspot.in/p/c-language.html
################################
*/
#include<stdio.h>