java program to find the perimeter of the circle

Solutions on MaxInterview for java program to find the perimeter of the circle by the best coders in the world

showing results for - "java program to find the perimeter of the circle"
Elisa
30 Jun 2019
1@Test
2	public void findPerimeterOfTheCircleProgram12() {
3		Scanner scanner = new Scanner(System.in);
4		System.out.println("Enter the RADIUS of the Circle: ");
5		double radius = scanner.nextDouble();
6		scanner.close();
7		// Logic for printing the PERIMETER of the circle
8		System.out.println("Perimeter of the Circle having radius " + radius + (2 * Math.PI * radius));
9	}
similar questions