CGS 3767 Operating Systems - project 1 : pgm1eCGS3767OS

Professor: Michael Robinson 
e-mail   : michael.robinson@cs.fiu.edu 
Web Page : www.cs.fiu.edu/~mrobi002/teaching 

a - Using virtualbox from your laptop or FIU computer
b - Install Ubuntu  as a virtual machine inside virtualbox
c - Install Windows as a virtual machine inside virtualbox
d - Install Java JDK inside Ubuntu and Windows
e - Create a folder called projects inside and Windows
f - Create a folder called backups  inside  and Windows
g - Using Ubuntu's  terminal create the java program described below
h - Using Windows's cmd      create the java program described below
i - In Ubuntu and in Windows
    Copy and rename your files in the projects folder 
                               to your backup folder
    

Program:
- Program must be named: yourLastNameFirstLetterOfYourFirstNamePgm1.java
- Turn in the signed source code on paper, and email me the source code.
- Make sure the program is properly documented and aligned uniformally,
  looking professionally, I will take points off if it not.
- Include the following header in every program:

/*********************************************************************
Author : Your Name 
Course : CGS 3767 days and time
Professor : Michael Robinson 
Program # : Program Purpose/Description 
 {A brief description of the program }

Due Date : MM/DD/YYYY 

Certification: 
I hereby certify that this work is my own and none of it is the work of any other person. 
 ..........{ your signature }..........
*********************************************************************/

Purpose of this program:
- Create a very simple Java program in Windows and Ubuntu using their Editors
  *** DO NOT USE ANY IDE ***
- Windows : From the command line (cmd), use the notepad editor 
- Ubuntu  : From the Terminal use the gedit, or nano or pico or vi or vim editor
- Compile and run this program using the MSDOS/Terminal
  javac robinsonMpgm1.java
  java robinsonMpgm1
  
- Create a 10 x 10 two dimensional array of int data type
- Load each index location in the array with the sum of it's row + column
- Create and algorithm that will add all the values in the diagonal indexes 
  from 0,0 to 9,9 and print the total
- Create and algorithm that will add all the values in the diagonal indexes 
  from 0,9 to 9,0 and print the total
- Print the addition of both diagonals  
  

How:
- From the main method create the rows and columns variables with their values
- From the main method call a method named arrays passing rows and columns
- From the arrays method do the rest of the program