ICS 111, Introduction to Computer Science
Lab 11 - Loops - July 1

 

This lab will help the student by:

Instructions:

To receive credit for this lab assignment, you must be finished by Thursday, July 3, at 11:59 p.m.  After this time you will not receive any credit.

1.  Login to UNIX

2.  Create and edit a file called 'LabX.java' (substitute the lab number for X- where  is the number of the lab- such as 'Lab1.java') in Pico, then compile and run the program.

Do the following:

3.  Get into Pine and attach the file to an e-mail and send the e-mail / file to the ics111-lab@hawaii.edu account.

4.  Check the webpage to make sure that the e-mail arrived. 

Here is the URL:
http://www2.hawaii.edu/~tp_200/bmf/ics111-lab.html

5. Once I (TA) get the e-mail in my account AND I can verify it on the web, you will receive your lab participation point.  For grading policies on your lab, click here...

6. Hints.

Try figuring out how to make the program print a single line of '*'s first. Then make it print out the multiple lines. If you can get the program to do a single line on Tuesday and multiple lines on Thursday, that would be a great division of labor. Don't worry about using doubles, you'll never need to input a fractional number for this program.

 

Link to the Java API -  to look up any methods of any class you would like to use.

Link to the Java Coding Standard -  to look up Java code formatting rules.