import java.util.Scanner; class Circle { public static void main (String args[]) { Scanner scr=new Scanner(System.in); System.out.println("Enter a radius:"); int radius=scr.nextInt(); float PI=3.142f; double Area=PI*(radius*radius); System.out.printf("Area is:%.2f",Area); double Circumferance=2*PI*radius; System.out.printf("\nCircumferance is:%.2f",Circumferance); } }