Input Specification

1. The first integer input will be a positive integer, n, indicating the number of test cases coming next.

2. The next n inputs are single positive integers each, and for each you are to determine whether the number is abundant or not.

Output Specification

Output a line with one of the two the following formats for each input number:

Test case #t: X is abundant.

Test case #t: X is NOT abundant.

where t represents the number of the test case (starting with 1), and X represents the number for that case.

Can someone help me or guide me in the correct direction. Thanks!

#include <stdlib.h> #include <stdio.h> int main(void) { int i; int SIZE; int num[SIZE]; int sum = 0; scanf("%d", &SIZE); scanf("%d", &num[SIZE]); for(i=1;i<=SIZE;i++) { if((num[SIZE]%i) == 0) sum += 1; if (sum > num[SIZE]) printf("Test case #%d: %d is abundant.\n", i, num[SIZE]); else (sum <= num[SIZE]); printf("Test case #%d: %d is NOT abundant.\n", i, num[SIZE]); } system("PAUSE"); return 0; }