Search:

Type: Posts; User: alex067

Search: Search took 0.08 seconds.

  1. Replies
    9
    Views
    1,778

    Re: Program not compiling + calling methods help

    What do you mean I didn't assign any type to radius in my calcCirc and calcArea? In the methods I put radius = rad; is that wrong? am I supposed to put double rad = radius???
  2. Replies
    9
    Views
    1,778

    Re: Program not compiling + calling methods help

    so when I identify calcCirc, instead of calcCirc(); I would have to identify it as calcCirc(double radius); in order to pass the radius value onto the calcCirc method?
  3. Replies
    9
    Views
    1,778

    Re: Program not compiling + calling methods help

    Sorry about not putting it around the code format!

    So in order to fix it I would have to call the methods as, circ = calcCirc(double); ?
    and area = calcArea(double);

    Or instead of (double) I...
  4. Replies
    9
    Views
    1,778

    Program not compiling + calling methods help

    Sup guys, newcomer to the forums with a relatively easy question to ask. Being a relatively newcommer to Java, my first assignment was to create a simple program which asked the user to input a...
Results 1 to 4 of 4