COP2250 Assignment 1

Due Wednesday, 5/14 at 6 am.

You are to create three, separate Java programs. Each one will be in its own file.

Use winscp to create, compile and run the files on ocelot. Do not use an IDE to complete this assignment. I have created a file that has screen shots and instructions for compiling and running using winscp: Compiling and Running Java from WinSCP.

Program One

Write a program the displays the letter Y composed of asterisks (*).

Program Two

Write a program that converts 2, 5.5 and 10.3 inches to centimeters (1 inch = 2.54 centimeters).

Program Three

Write a program that displays the number of feet and remaining inches in 125, 247 and 1492 inches.

Submit Homework

To hand in the assignment, zip all your .java files into one zip file and submit it to me: