Don't know exactly what you mean. But I'll give it a try: you're for-loop should contain something like this.
Code:
scanf ("%d", &num);
perfect = (count % num) && (count==sum);
abundant = (count % num) && (count < sum);
deficient = (count % num) && (count > sum);
if (perfect)
printf ("num is perfect\n");
else if (abundant)
printf ("num is abundant\n");
else /* deficient == TRUE */
printf ("num is deficient\n");
Ofcourse the calculation of perfect, abundant and deficient is not needed, it could be done in the if-condition. This would save both space and time.