SHARE
TWEET

Untitled

a guest Sep 13th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     public static void main(String[] args) {
  2.     double radius, area, circumference;
  3.     final double PI = 3.14159265;
  4.     radius = 3.5;
  5.     area = radius * radius * PI;
  6.     circumference = 2.0 * radius * PI;
  7.     System.out.print("The radius is ");
  8.     System.out.println(radius);
  9.     System.out.print("The radius is ");
  10.     System.out.println(area);
  11.     System.out.print("The circumference is "); 
  12.     System.outprintln(circumference);
RAW Paste Data
Top