0

How can I code this in another way? Or another method?

for(int i=0; i<amt.length; i++) { amount+=amt[i]; }

11th Aug 2019, 8:44 PM
czarina smsn
czarina smsn - avatar
2 Answers
0
Sum of elements in array => look at the code https://code.sololearn.com/co0liXe45PZ5/?ref=app
11th Aug 2019, 8:55 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar