Break

 package loops;


public class Break {


public static void main(String[] args) {


for(int i = 1; i<=100 ; i++) {

if(i==35)break;

System.out.println(i);

}

}

}

Comments

Popular posts from this blog

Series 2 Addition

If