But shouldn't you be doing this for the number of times the user is asking for?
The loop should look like:
for(i = 0; i < *pN; i++)
Type: Posts; User: jimblumberg
But shouldn't you be doing this for the number of times the user is asking for?
The loop should look like:
for(i = 0; i < *pN; i++)
What do you think this line of code is doing? Please try to explain it clearly.
for(*pN=1; *pN=100; pN++)
Jim
Please post the complete modified code.
Jim
What don't you understand.
The unresolved error messages are because you have not written these functions
void GetValues(int x[], int *pN);
int FindBig(int x[], int n);
int FindSml(int x[],...
The unresolved external symbols are because you are calling functions that you have not written.
The warnings "return" conversion from int to float mean that on the line quoted you are returning...
scanf("d",&i);
{
myBig =x[0];
mySml = x[0];
if(x[i]>myBig);
{
myBig = x[i];
return myBig;
}
if(x[i]<mySml);
scanf("%d", size);
// insure it is less than 100
for(size=1; size<=100; size++)
{
printf("Enter Value: ");
scanf("d",*pN);
{
myBig =x[0];
mySml = x[0];
scanf("%d", size);
// insure it is less than 100
for(size=1; size<=100; size++)
{
printf("Enter Value: ");
scanf("d",*pN);
{
myBig =x[0];
mySml = x[0];
You are trying to define a function within a function. That is not allowed. You need to move your function definition outside of any functions.
Jim