Program Menghitung Volume Lingkaran Sederhana (java)

import jeliot.io.*;

class VolumeLingkaran {
    static void main() {
    double pi = 3.14;
    int r = Input.readInt();
  
    double Volume = (4/3)*pi*r*r*r;      
    System.out.println(Volume);
  
        // Your algorithm goes here.

    }
}

No comments:

Post a Comment