import jeliot.io.*;
public class MyClass {
public static void main() {
// Your algorithm goes here.
int r;
float volume;
System.out.print("masukan r = ");
r = Input.readInt();
volume= (float)((3.14*r*r*r*3)/4);
luas_lingkaran=(float)(3.14*r*r);
System.out.print(volume);
}
}
public class MyClass {
public static void main() {
// Your algorithm goes here.
int r;
float volume;
System.out.print("masukan r = ");
r = Input.readInt();
volume= (float)((3.14*r*r*r*3)/4);
luas_lingkaran=(float)(3.14*r*r);
System.out.print(volume);
}
}
0 komentar:
Posting Komentar