public class LuasLingkaran { public static void main(String [] argh) { int r =52; double phi = 3.14, luas; System.out.println("Menghitung Luas Lingkaran"); System.out.println("-------------------------"); System.out.println("Nilai jari-jari\t: " + r); System.out.println("\nLuasLingkaran - phi x r x r"); System.out.println("Luas Lingkaran = " + phi*r*r); } }
program mencari luas lingkaran dengan java
January 18, 2014
Bobby Syahronanda
0 Comments