0
I am not sure how to start and if i'm headed in the right direction with functions and arrays in C++
write a program that asks users to input up to 20 integers, and then find the maximum, minimum, average, and median of the numbers that were entered. Supposed to use functions called index_of_longest, average, and median. Here is what I have so far: https://code.sololearn.com/ca20A15A14A7/#cpp
7 Réponses
0
Ok, maybe can I see an example of starting the functions of what you're explaining. I'm a total newbie on this.
0
Or an example of an array and function that is doing similar jobs. I'm not sure what should be passing through the function and array to even use a function.
0
Yeah, I'm not learning through solo learn but I use it to help review and to get help answering some questions.
0
I was just thinking that you need to first understand how mean, median is calculated. Once that part is cleared, you start to dig on how to implement it in codes.