0
I Need to fix this program https://code.sololearn.com/cNZC5zfg1Poq/?ref=app
In the program i need to calculate the variance and average of values but i am having troubles with the array of values. How can i fix jt? https://code.sololearn.com/cNZC5zfg1Poq/?ref=app
8 Answers
+ 2
Using that + in your post editor window, you can directly link us to the code.
That makes it more easy for potential helpers to take a look.
0
What do you mean?
0
Hey click on the 3 dots at the right hand corner then click on edit and follow HonFu instruction from there
0
I already did that
0
Try changing....
void input(int *array [], int size) ..(<--- here.. you're declaring an array of pointer.)
to either....
void input(int array [], int size)
or...
void input(int *array, int size){
0
also...have a look a the console output...all the errors are show in there.
All I did was correct your code following the info i got in there and I got It working......well......I got an output anyway....whether it's correct is something else..
0
I already fixed this thx