📜  menghitung luas lingkaran - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:49.950000             🧑  作者: Mango

代码示例1
double phi = 3.14;
double dimensi = 45;
double jari2 = dimensi/2;

double linkaran1 = phi * jari2^2;
double linkaran2 = (1/4) *  phi * dimensi^2;