Lab 6

Read chapter 2 carefully before beginning. Do problem #2 on p. 63 of your Java text.


In order to get any credit, the methods described in part 2a) must be void and the method described in part 2b) must be int and return a value.

In order to get any credit, you must create a typescript file with your listing, compilation and execution and email it to your TA.
Click here for help making a typescript.

Sample Execution

>java numbers
85+43 equals 128
85-43 equals 42
85*43 equals 3655

Program Over, Bye!!!