vitalii_hrushyn
7/19/2016 - 10:47 AM

Circumference.java

package com.gmail.vhrushyn;

import java.util.Scanner;

public class main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		
		System.out.println("Enter radius");
		double r = sc.nextDouble();
		
		System.out.println("Circumference is " +(2 * Math.PI * r));
		
		sc.close();

	}

}