Break ...

package ele;


class contohBreak{
public static void main(String args[]) {
int bee = 22;
do {
bee = bee - 3;
System.out.println ("bembem "+(bee));
if (bee == 10) break;
}while (bee>=3);
}
}

OUTPUT :

bembem 19
bembem 16
bembem 13
bembem 10
BUILD SUCCESSFUL (total time: 2 seconds)
  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

0 Response to "Break ..."

Posting Komentar