CSC234 - Project 1
My First Java Program
Assigned Jan 16th 2 p.m.
Due Jan 23rd 1 p.m.
Overview
Write a Java program called KilosMiles.java
to convert kilometers into miles.
Your program should ask the user for the number of kilometers they wish to convert, and it
will output the number of miles. Your code should be formatted and tabbed in a consistent
manner, and include appropriate comments.
Materials
What to turn in
- KilosMiles.java
To hand in your Project 1 files, follow the steps listed below from the Wright Lab computers:
- Open the Terminal application.
- SSH with
ssh username@cs.centenary.edu
to connect with the cs server.
- Type in your password.
- Make a new directory with
mkdir csc234/project1
- Log out of the cs server with
logout
- Change to the directory where you have your files on the local computer.
- Securely copy your files to your directory with
scp filenames username@cs.centenary.edu:"csc234/project1"
© Mark Goadrich 2008, Centenary College of Louisiana