- 6

int i=1,j=0,n=0; while(i<4) { for(j=1;j<=i;j++){ n+=1; } i=i+1; } system out.printIn(n);

28th Mar 2017, 5:12 PM
Arpit Gupta
Arpit Gupta - avatar
2 Answers
- 5
find output following code fragments
28th Mar 2017, 5:15 PM
Arpit Gupta
Arpit Gupta - avatar