Lab 02

What to do:

  1. With whatever SSH client you have installed (e.g., PuTTy on Windows, or ssh via the Terminal application in OS X, etc.), connect to mathcenter.oxford.emory.edu and create inside your home directory a directory called "cs170_fall_2017_lab02".

  2. Create a file named IsItALeapYear.java as described in problem 6 in the section entitled Exercises - Booleans and Conditionals, saving it to your cs170_fall_2017_lab02 directory.

  3. Create a file named SquareGenerator.java as described in problem 14 in the section entitled Exercises - Loops, saving it to your cs170_fall_2017_lab02 directory. Compile and test this file only on your local machine (not the server), as it is graphical in nature.

  4. Finally, on the command line from your home directory type the following and hit return, to turn in all your work for this lab:

    java -cp /assignments TurnIn cs170_fall_2017_lab02
    
    Note, there should not be a slash at the very end (beware, the computer may try to add one for you, depending on whether or not auto-complete is used).

THE FOLLOWING IS VERY IMPORTANT: WHEN CREATING ANY FILES OR FOLDERS, OR WHEN UPLOADING ANY FILES AND FOLDERS -- USE EXACTLY THE NAMES SPECIFIED IN THE DIRECTIONS -- EVEN DOWN TO THE CAPITALIZATION OF THE LETTERS. IF YOU DON'T, YOUR PROGRAMS WILL NOT BE ABLE TO BE TURNED IN CORRECTLY.