Search:

Type: Posts; User: javadude

Search: Search took 0.08 seconds.

  1. Replies
    7
    Views
    1,273

    Re: Are these math statements correct?

    Once again newbie hit the nail on the head. I had placed rf1.rectData(heightInput, widthInput); before actually taking the widthInput data from the user, so that's why it was coming up with funky...
  2. Replies
    7
    Views
    1,273

    Re: Are these math statements correct?

    I'm going to post both classes since it makes more sense that way.

    RectangleProgram:


    import java.util.Scanner;
    /**
    * This is the main class of RectangleProgram. This class will take
    *...
  3. Replies
    7
    Views
    1,273

    Are these math statements correct?

    I wrote a program to take two values from the user that will determine perimeter and area of a rectangle. However, when I run the program, it is only adding the area input values together instead of...
  4. Replies
    6
    Views
    1,145

    Re: Help fixing my first program

    Done and done!
  5. Replies
    6
    Views
    1,145

    Re: Help fixing my first program

    Excellent! I fixed it with your help. Here's what I did (for anyone looking at this in the future):


    I added cf1.setRadius(radiusInput); after the radiusInput key capture statement in the main...
  6. Replies
    6
    Views
    1,145

    Help fixing my first program

    Hey all,

    I'm new to Java and am attempting to write my first program that will determine the circumference of a circle with a given radius. The user will enter only a 'double' number as there is...
Results 1 to 6 of 6