First every project with Java...

Here is the assignment:

Write a Java application that calculates the time to mow a yard given the length and width of the yard and the length and width of the house. Use the speed of 2 square feet/sec to mow the yard. Output the dimensions of the yard, the dimensions of the house, and the time, in minutes, to cut the grass. Set the dimensions up as named constants and run the program 3 times, changing the constants for each run or use the Keyboard class to input each set of data. Use screen output to display your answers.

Test data:
Yard: 60 feet by 100 feet
House: 25 feet by 50 feet

Yard: 1000 feet by 2000 feet
House: 50 feet by 100 feet

Yard: your choice
House: your choice

Now, here's what I have so far:

------------------
public class Project1
{

public static void main (String[] args)
{

int lh =
int hh =
int ly =
int hy =
------------------

So my questions are; 1) How exactly do I factor in the 2-square feet per sec variable? I think I understand the equations and such, but not quite sure how to implement the 2sq-ft/sec thing.

Any help is greatly appreciated. If this is the wrong forum, I'm sorry. Just a newb mistake.
[1303 byte] By [Cornbread] at [2007-11-18 10:55:08]
# 1 Re: First every project with Java...
is this homework?
Joseph_R_Thomas at 2007-11-10 3:45:54 >
# 2 Re: First every project with Java...
(W*H) = total square feet of yard.

Should be easy to put a 2 in there somewhere. It's not rocket science.
Firewireguy at 2007-11-10 3:46:54 >