0 points

circumference n area


dashboard

Thu Oct 15 2020 17:58:25 GMT+0000 (UTC)

Posted by @Leonidus152 #javascript

Scanner scan = new Scanner (System.in);
        
        System.out.println("Enter a radius:");
        double r = scan.nextDouble();
        System.out.println("Circumference: " + (2*3.14*r));
        System.out.println("Area: " + 3.14*r*r);
content_copy Copy

type in radius