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.
#define SIZE 10
int num [SIZE];
int dem [SIZE];
Type: Posts; User: cgn38
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.
#define SIZE 10
int num [SIZE];
int dem [SIZE];
How do you take the output from rand() and put it into an ARRAY?
This is part of code if you need more I can post it.
printf("Maximum digits in the numerator? \n"); //limit a to 3 digits...
OK
I forgot to add that to my question. should I use an array or a struct. Thanks for the advise Prelude.
I am trying to write a program to add, subtract, multiply and divde Fractions. This is just the add part.
User inputs number of problems and number of digits in the numerator and denominator.
My...