Lab 11 - March 4

 

To receive credit for this lab assignment, you must be finished by Tuesday, March 4, 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:

Work on the same program from Tuesday (lab 10) and ask the user if he/she wants to convert from Farenheit to Centgrades or the other way around.  Your program should handle either case.


Hint:   booleans (here's a tutorial on different data types in Java) - http://java.sun.com/docs/books/tutorial/java/nutsandbolts/datatypes.html

and 'if statements' - http://java.sun.com/docs/books/tutorial/java/nutsandbolts/if.html

2.  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 11'.

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

4.  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.