Wednesday, January 28, 2015

Can smb explain this question?
































Hi! How does the answer happen to be 12?? Thanks in advance!
















































Java Code:





































public static void main(String [] args)
{
int i = 5;
for(i=0;i<=10;i++)
{
i=i+1;
}
System.out.println(i);


}


































































No comments:

Post a Comment