lab4 - int A = input.nextInt int B = input.nextInt int...

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

View Full Document Right Arrow Icon
// Skeleton code for CSE 110 Lab 4 // // Name: // Lab day and time: import java.util.*; i public class lab4 { public static void main (String [] args) { Scanner input = new Scanner(System.in);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: int A = input.nextInt(); int B = input.nextInt(); int counter = 0; i while( A>B ) {System.out.println(counter ); counter = counter + 1 ; } } }...
View Full Document

This note was uploaded on 12/11/2010 for the course CSE 110 taught by Professor Shaunakpawagi during the Winter '08 term at SUNY Stony Brook.

Ask a homework question - tutors are online