Lab 19 - April 29

 

To receive credit for this lab assignment, you must be finished by Friday, May 2, at 10:00 p.m. After this time you will not receive any credit.
 

Instructions:

1.  Login to UNIX, and write a program to do the following:

Using the class that Blanca has sent to you, do the following:

Read any number of arguments given by the user [0..n]

using .length (instance variable from the array class), determine how many arguments were given by the user. 

From those arguments given, find out how many are numbers.  For this use Double.parseDouble(String) and a counter.

Print the following:

3.  Send an e-mail in Pine and attach your program to the e-mail.  Send to the ics111-lab@hawaii.edu account.  Make sure the subject is 'lab 19'.

4.  Check the webpage to make sure that the e-mail arrived.  Here is the URL:

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.

 

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