Actually, I have the code for a square program that does similar to the same thing.
Rectangle is more confusing because I need to get 2 inputs, height and width, and determine the rectangle from there, which I'm stuck at, if someone can check out the square code and figure something out for a rectangle. Here it is..
[CODE=java]import java.util.Scann er;
/*************** *************** *************** *...
User Profile
Collapse
Leave a comment: