You are viewing a single comment's thread. Return to all comments →
for(int n=1;n<=100;n++) { do { if(n>=6 && n<=20) System.out.println("wierd"); else System.out.println("not wierd"); }while(n%2==0); System.out.println("wierd"); } //heyyy is this correct
Seems like cookies are disabled on this browser, please enable them to open this website
Java If-Else
You are viewing a single comment's thread. Return to all comments →
for(int n=1;n<=100;n++) { do { if(n>=6 && n<=20) System.out.println("wierd"); else System.out.println("not wierd"); }while(n%2==0); System.out.println("wierd"); } //heyyy is this correct