Search:

Type: Posts; User: noblegas

Search: Search took 0.13 seconds.

  1. Re: my program for calculating the circumference and area isn't working

    When I google 'java formatter' the 1st website that pops up is oracle . (Formatter (Java Platform SE 7 ))

    the formatter for 'double' is 'e' so I modify my code

    Here is what my code looks like...
  2. Re: my program for calculating the circumference and area isn't working

    Thanks Ada, for coming back to life just to help me out with my java program error. What is the printf formatter type for a double?
  3. Re: my program for calculating the circumference and area isn't working

    Thanks here is the output of my program after entered the radius:
  4. Re: my program for calculating the circumference and area isn't working

    Okay I will repost my last post :


    Actually, I wanted to add when I add %d\n in the line of my code that displays the circumference, I get a large error message when I run the code.

    --- Update...
  5. Re: my program for calculating the circumference and area isn't working

    Actually, I wanted to add when I add %d\n in the line of my code that displays the circumference, I get a large error message when I run the code.

    --- Update ---

    Here is what my code now looks...
  6. my program for calculating the circumference and area isn't working

    Here is the program I wrote for calculating the circumference of a circle



    Even though my code compiles and runs without any errors, the program doesn't calculate the circumference.
Results 1 to 6 of 6