Yes it is an Interger ARRAY
Here is more of the code.
I changed the LIMIT to limit, it was just a carry over from when it was #defined.
Code:
#define SIZE 10
int num [SIZE];
int dem [SIZE];
int main(void)
{
int a;//digits in numerator
int b;//digits in demoninator
int c;//number of problems
int j;
int limit;
printf("All answers must be reduced to its simplest form.\n");
start:
printf("\n");
printf("Maximun Number of Problems is 10 \n");
printf("\n");
printf("How many Problems would you like? \n");
scanf("%i",&c);
if (c>10) //limit c to 10 problems
goto start;
printf("Maximum digits in the numerator? \n"); //limit a to 3 digits max
scanf("%i",&a);
if (a==2)
{
limit=99;
}
if (a==3)
{
limit=999;
}
srand((unsigned)time(NULL)); //need 1 a for every c
for (j = 0; j < c; j++)
{
int i = rand() % limit;
printf("The random number is %d\n", i );
}