Student Name
Program Description: Describe here what this program will do
***********************************************************************/

How to submit your assignment:

The programs MUST have the same names as the assignment title (Largest, Palindrome, Diamond).

Each Java source file (*.java) must include a corresponding class file (*.class) program as evidence of success.

In addition to the program source code files and byte code files, put all your program source code files and screen shots of your program output files into a Word document.

You must use a zipped folder to send your weekly assignment to the Dropbox. Do not send subfolders within your zipped folder. Place ALL of the .java and .class files for the week into the one zipped folder. The zip folder should be named: CIS355A_YourLastName_iLab_Week2, and this zip folder will contain all the weekly programming assignments.

iLAB STEPS

STEP 1: Largest (10 points)

 

Write a Java application program called Largest.java that inputs a series of 10 single-digit numbers and determines and prints the largest of the numbers. Except main() method, no other user-defined method is required. Your program should use at least the following three variables

counter: A counter to count to 10 (that is, to keep track of how many numbers have been input and to determine when all 10 numbers have been processed);

number: The current digit input to the program; and

largest: The largest number found so far.

When each number is entered, make sure it is a single digit number, that is 0 to 9.

 

 

    • 7 years ago
    A+ Work
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      lahb_2_helyp.zip