While - while(N<=10 System.out.println(N N = N 1 int...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
//Jamel Jenkins 10/08/2008 //Ch.5:Control Structures:Intro to while-loop / public class While { public static void main(String[] args) { int N = 0;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: while (N<=10) { System.out.println(N); N = N + 1; } int 10*N; while(N<=100) { System.out.println(N); N = N + 1; }}}...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online