Search:

Type: Posts; User: sanz

Search: Search took 0.42 seconds.

  1. Replies
    9
    Views
    1,372

    Re: Question in numbering

    instead of this System.out.println("The area of circle is " + area + "."); use this System.out.printf("The area of cirlcis %3f" , area); so that the modulo will be read in the java compiler, with no...
  2. Replies
    9
    Views
    1,372

    Re: Question in numbering

    if you want to your answer to be displayed 314.15, you should put, "%2f, area" if im not mistaken its look like in the C programming it will just put 2 decimal place, i hope it can helps you.
Results 1 to 2 of 2