ADVT POST

Circumference of circle java program

CIRCUMFERENCE OF CIRCLE JAVA PROGRAM


public class circumferenceofcircle {

    /**
     * @param args
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub
float r;
double co;
double pie=3.14;
r=10;
co=2*pie*r;
System.out.println("circ of circle is = " +co);


    }

}
Share on Google Plus
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.