XII-IP-2015-16 WEEKLY HOME WORK # 1
XII IP :: QUESTION BANK 2015-16 JAVA IMPLEMENTAION OF for , while , do-while , if-else , nested if , switch-case statements 1.Rewrite the following code fragment using do-while loop and also give output : for(int i=1;i<=10;i++) { System.out.println(“”+i); } 2. How many times will each of the following loops execute? Which one of these is a...