November 1, 2006 11:24pm CST
do you agree i agree
4 responses
@classact (1395)
• India
17 Feb 07
u have created a very gud discussion.. both atif & jal band r rocking i like both. thnx for creating this discussion
• India
23 Jan 07
yes they rock. thank you for creating such a discussion and i will also create such interesting discussions in future.
• United States
29 Dec 06
i agree you have created a cool discussion.. in your discussion you have taken a good issue..
• India
26 Dec 06
yes i agree with u ATIF and JAL both rocks........... prog. u wanted.... class menu { public static void main(String args[]) throws { char choice; do { System.out.println("help on:"); System.out.println("1.if"); System.out.println("2.switch"); System.out.println("3.while"); System.out.println(" while"); System.out.println("choose one:"); choice=(char); } while(choice'5'); System.out.println("\n"); switch(choice) { case '1' : System.out.println("the if: \n"); System.out.println("if(condition) statement;"); System.out.println("else statement;"); break; case '2' : System.out.println("the switch:\n"); System.out.println("switch (expression){"); System.out.println(" case constant:"); System.out.println(" statement sequence"); System.out.println("break;"); System.out.println("//....."); System.out.println("}"); break; case '3' : System.out.println("the while;\n "); System.out.println("while (condition) statement;"); break; case '4' : System.out.println("the do while: \n"); System.out.println("do {"); System.out.println("statement;"); System.out.println("} while (condition);"); break; case '5' : System.out.println("the for: \n"); System.out.println("for(init;condition;iteration)"); System.out.println("statement;"); break; } } }