ASSIGNMENT  1      

 

DOCUMENTATION:

          Include as a comment at the beginning of your source code:

                   Name

Assignment  number

Date due

Date submitted

 

          Include any comments within your source code to clarify your logic in the  cases where this is necessary.

 

SUBMIT:   

1.     Include floppy diskette with .JAVA and  .CLASS files.

2.     sample output for each activity (screen capture)

 

DUE DATE: next class

 

Ex 1.

 


Write a program using JOptionPane that will read in two integers and output their sum, difference, and product.

 

Ex 2.

 

Write a program using JOptionPane that reads a line of text and then outputs that line of text first in all uppercase letters and then in all lowercase letters.