How to sum of array? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to sum of array?

I have a peogram like tihis: int arrayyy[]=new int[5]; ....how to show the number of array? And how to sum of array?

30th Mar 2019, 2:29 PM
Debby Ummul Hidayah
Debby Ummul Hidayah - avatar
2 Answers
+ 2
You can see my example code. Hope it helps you. https://code.sololearn.com/cbclQv0dhTpB/?ref=app
30th Mar 2019, 6:34 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
0
Okay I will try it...thanks a lot sir... Regards
31st Mar 2019, 4:57 AM
Debby Ummul Hidayah
Debby Ummul Hidayah - avatar