Examlex

Solved

What Is the Output of This Code Snippet

question 70

Multiple Choice

What is the output of this code snippet?
Int s = 1;
Int n = 1;
Do
{
S = s + n;
System.out.print(s + " ") ;
N++;
}
While (s < 3 * n) ;


Definitions:

Related Questions