Programming in Java

Main for Lab 4

Create a Spreadsheet with cell width 10 and 2 decimal places. Put the following entries into the Spreadsheet:

  A B C
1 Expenses Income Net Profit
2 9555.26 18732.95 B2-A2
3 8998.93 29314.78 B3-A3
4 A2+A3 B2+B3 C2+C3
5      
6   B1+B2  

Display the Spreadsheet in raw mode and evaluated mode. Then change the cell width to 6 and the decimal places to 1 and display the Spreadsheet again in raw mode and evaluated mode.

 


Email Me | Office Hours | My Home Page | Department Home | MCC Home Page