The user need to type largest (3,7,11,9) at the prompt. It means that I have 3 numbers in the array and I need to find the largest integer in the array containing 7, 11, 9.
I was able to get the program to read 3 as teh size of the array but how can I instruct the program to put the 7, 11, 9 in the array??
int main(int argc, char *argv)
int num[sizeof nargs];
int largestsofar = 0;
strcpy (nargs, argv);
if (largestsofar < num[i])
largestsofar = num[i];
printf("The largest integer is: %d\n",largestsofar);