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

9th Mar 2020, 5:25 PM
Massimiliano Messina
Massimiliano Messina - avatar
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.
9th Mar 2020, 5:29 PM
HonFu
HonFu - avatar
0
What do you mean?
9th Mar 2020, 5:32 PM
Massimiliano Messina
Massimiliano Messina - avatar
0
Hey click on the 3 dots at the right hand corner then click on edit and follow HonFu instruction from there
9th Mar 2020, 5:38 PM
āœ³AsterisKāœ³
āœ³AsterisKāœ³ - avatar
0
I already did that
9th Mar 2020, 6:00 PM
Massimiliano Messina
Massimiliano Messina - avatar
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){
9th Mar 2020, 7:04 PM
rodwynnejones
rodwynnejones - avatar
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..
9th Mar 2020, 7:21 PM
rodwynnejones
rodwynnejones - avatar
0
I already fixed this thx
9th Mar 2020, 7:22 PM
Massimiliano Messina
Massimiliano Messina - avatar