+ 1

public class Program { public static void main(String[] args) { int [ ] myArr = {6, 42, 3, 7}; int sum=0;

please make me understand how does the loop part works https://code.sololearn.com/c1ZBSCxRlbMW/?ref=app

16th Mar 2018, 3:48 PM
Devansh Gupta
Devansh Gupta - avatar
8 Réponses
+ 10
If you are referring to the code "arrayor" from your profile: https://code.sololearn.com/c1ZBSCxRlbMW/?ref=app, then you can get the explanation from here: https://www.sololearn.com/Discuss/400109/?ref=app
16th Mar 2018, 4:05 PM
Shamima Yasmin
Shamima Yasmin - avatar
+ 8
If you're using mobile app, you can tap on the ➕ button next to the Send button in the post to add the url from Code Playground or Discussion. 😉
16th Mar 2018, 4:18 PM
Zephyr Koo
Zephyr Koo - avatar
+ 5
Please save the code in Code Playground and share with us here so we can help you better. 😉
16th Mar 2018, 3:52 PM
Zephyr Koo
Zephyr Koo - avatar
+ 1
thanks
16th Mar 2018, 4:07 PM
Devansh Gupta
Devansh Gupta - avatar
+ 1
OMG!! I don't know how many times i'll thank you guys today now I feel I'm familiar to most of its functionalities
16th Mar 2018, 4:24 PM
Devansh Gupta
Devansh Gupta - avatar
0
so sorry !! I am trying wait a few minutes please
16th Mar 2018, 3:58 PM
Devansh Gupta
Devansh Gupta - avatar
0
how can I post the link for the code here?????
16th Mar 2018, 4:02 PM
Devansh Gupta
Devansh Gupta - avatar
0
but how did you get that link here??@Shamima Yasmin
16th Mar 2018, 4:11 PM
Devansh Gupta
Devansh Gupta - avatar