Definitely the question is incomplete
Using for loop in java to print positive integers ,let say first 50 integers
So the loop is:
int i ;
for( i= 0; i<= 50; i++ ) {
print (i);
}
The looping will going to start from the 1 and stop to 50
4.5m questions
5.7m answers