import java.util.Scanner;
public class Main {
public static void main(String[] args) {
{
float p= 3.14f,luas;
int r;
Scanner sc= new Scanner (System. in);
System.out.println("Masukan Nilai Jari-jari Anda =");
r=sc.nextInt();
luas=p*r*r;
System.out.println("phi :"+p);
System.out.println("jari-jari :"+r);
System.out.println("luas :"+luas);
}
}
}
Masukan Nilai Jari-jari Anda =
0 komentar:
Posting Komentar