Computer Science, asked by shabindhiya, 17 days ago

a java program to input the radius of a circle and to find its perimeter​

Answers

Answered by nomtogaming
2

import java.util.*;

class radius

{

public static void main(String args[])

{

Scanner sn= new Scanner(System.in);

System.out.println("Enter Radius");

double r=sn.nextDouble();

double circumferenc=2*3.14*r;

System.out.println("Circumftence is:"+circumferenc);

}

}

Similar questions