CompSci 6 Spring 2010: Assignment 2
Due: Thursday, Jan 28 - 11:59pm
10 points
Solve the following problems using the APT, and submit the program
using Eclipse.
- First read and think about solving the following problems.
- In Eclipse, create a Java project named Assign2. In that project, add a
Java class called Pancakes (the .java extension will be automatically
added, also note the P must be capital letter, the rest of the letters
lowercase) and a Java class called Laundry.
- Cut and paste the rest of the code to get started and solve these
problems.
- Test your classes/methods using the APT until you get as many green lights
as possible.
- Add comments to both of your Java classes, especially one with your name.
// Author: Prof. Rodger
//
// Date: Jan. 21, 2010
//
// Purpose: Determine shortest amount of time to cook M pancakes in a pan
// that holds N pancakes at once.
- In the same project, create
one text file called README that includes the following
information.
- Your name
- The date
- Any comments on the programs, Eclipse or the APT.
- An estimate of how long it took you to do this assignment.
- The names of anyone you spoke with about this program. If you
discussed the solution with another student, include their name. If you
received help from a UTA or the professor, include their name.
Submitting your Project with Ambient
Once your program is ready to submit. You need to do the following.
- In Eclipse, select "Ambient", "Submit a Project for Grading".
- Click on the "+" beside cps006 and you should see "assign2".
Click on assign2 to highlight it.
- If the workspace path is not correct, browse to it.
- Find your folder assign2 and click on the box beside it to select it.
Then click "Submit" at the bottom. You will be prompted for you Duke login
and password.
You should receive a message that it was successful.