Answers for "Write the program that displays the circonferance of a circle in java"

0

Area of a Circle in Java Programming

import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        double R,A;
        Scanner sc = new Scanner(System.in);
        R = sc.nextDouble();
        A = 3.14159 * R * R;
        System.out.printf("A=%.4f\n",  A);
   }
}
Posted by: Guest on June-28-2021

Code answers related to "Write the program that displays the circonferance of a circle in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language