0

Help me understand arrays and Scanner object

Write a program that asks the user for 4 numbers and calculates the sum of the numbers given using array and for loop😓

16th May 2018, 7:23 PM
Francis Waweru
Francis Waweru - avatar
2 Answers
+ 1
add only 4 int. i dont now why for (int a: numbers) dont work here https://code.sololearn.com/cAlHuKlGlM7r/?ref=app
16th May 2018, 8:02 PM
Daniel (kabura)
Daniel (kabura) - avatar
0
thank you so much Daniel...
16th May 2018, 9:02 PM
Francis Waweru
Francis Waweru - avatar