find the output of a java snippet-
c =0 i=1;
for(;i<=6;)
c=c+ ++i*i++;
System.out.println(c+" "+i);
Plssss help....
Attachments:
![](https://hi-static.z-dn.net/files/d3b/7f036867ab9f2be4cd28c023b03f8e1a.jpg)
Answers
Answered by
2
Answer:
2 3
18 4
54 6
Read my bio once
Similar questions