public class MyClass { public static void main(String args[]) { System.out.println("Enter the radius:"); double r=Double.parseDouble(args[0]); double area= (22*r*r)/7; System.out.println("area " + area); } }
Input Arguments (args of Main Method)...
Result...
compiled and executed in {{this.executionTime}} second(s)

								
Online execution powered by JDoodle.com
{{this.setLanguage("java", "",".java",true, 0)}}