I guess I'm not sure how to pass the 2D array in.
Type: Posts; User: Stlcardinal50
I guess I'm not sure how to pass the 2D array in.
So would i have to enter different parameters? I'm just having trouble wrapping my brain around it.
The function will have to first test the row then take that and fill it in the array like I...
How would I go about?
"1. Pass in another array to be filled in by the function."
If you have an example.
staring at this now
int findLowest(int score[][4], int rows)
{
const int LOWS = 3;
int arr[LOWS];
for(int R=0; R < rows; R++)
{
Well i was hoping that
arr[R] = low;
would assign the 0,1,2 addresses in he array with the lowest grade for each student, but as for the
return *arr;
I was just trying to figure out a way to...
Okay what can I do to return these arrays properly, at the moment it is taking the lowest of the first row and it wont change for any other.
And the average is doing the same.
//Low Score...
I've asked about this program in the past but have just can't figure out what to do.
I can't figure out how to make an array in a function and call it back to a different procedure. In this...
I also realize you can not return an array but return the pointer just not sure how to go about it here.
well I had this and I was trying to break it down into a:
void getData(){}
int findLow(){}
double calcAvg(){}
void Display(){}
int main()
{Vars
Was having trouble finding out how to properly return a 2D array in a function. I have seen 1D array, but no more as of yet. If somebody has an example I could use one along with how the call would...
I don't understand logically what is causing this too happen, but the "Dropped Grade" & "Average" are always coming out as "-858993460" & "286331275.00".
The program is suppose to have you enter 4...