Program menghitung luas prisma dengan java
Posted by Unknown | at 09:45
No comments
public class Prisma1.java
int al,ts,tp,a,b,c;
public Prisma1(int al,int ts,int tp,int a,int b,int c){
this.al=al;
this.ts=ts;
this.tp=tp;
this.a=a;
this.b=b;
this.c=c;
}
public double hitungvol(){
return ((0.5*al)*ts)*tp;
}
public double hitungluas(){
return ((a+b+c)*ts*(2*((0.5*al)*)));
}
}
Tagged as: Java, Tugas Kuliah

About the Author
Share This Post
Related posts
- Program menghitung luas prisma dengan java
- Program mencari luas dan keliling persegi dan lingkaran
- Program menghitung volume tabung dengan java
- Program menghitung luas & keliling lingkaran dengan java
- Contoh Curriculum Vitae
- Sample of Unsolicited Application letter
- Gambar ERD Penggajian
- Konversi suhu Celcius Fahrenhait Reamur Kelvin dengan java
0 comments: