This preview shows page 1. Sign up to view the full content.
Unformatted text preview: System.out.print("Enter the first number:"); num1 = input.nextInt(); System.out.print("\nEnter the second number:"); num2 = input.nextInt(); System.out.print("\nEnter the third number:"); num3 = input.nextInt(); // fill in this code during class // print result System.out.printf("%d is the largest number\n",max); } // end of main } // end of class FindMaxOfThree...
View Full Document
This note was uploaded on 12/27/2011 for the course CMPSC 5 taught by Professor Franklin during the Fall '09 term at UCSB.
- Fall '09