Display Array | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Display Array

Can some one help me with this array loop. Of 8 elements in the array, I am trying to display the one that are greater than the average. Each time I run the app, it displays all of the elements in the array regardless of the value....what am I missing? https://code.sololearn.com/cHgsladu5jj6/?ref=app

12th Sep 2019, 12:15 PM
Jacques Cozart
Jacques Cozart - avatar
2 Answers
0
https://code.sololearn.com/cf1a9x2f94Di/?ref=app Your code is incomplete.
12th Sep 2019, 2:38 PM
Prathvi
Prathvi - avatar
0
thx for the help!!
12th Sep 2019, 7:38 PM
Jacques Cozart
Jacques Cozart - avatar