Nama : Rifa Awaliyah
NIM : 161011700027
Ruangan : 501
Kelas : 01SIFE001
Waktu kuliah : Reguler C
Dosen : Agus Suharto
#####################################################################
Kasus Permasalahan
Mencari volume prisma
segitiga (½ x alas x tinggi x P) atau (alas x tinggi x P)/2
Source Coding
int alas,tinggi,P,volume;
alas=Integer.parseInt(txtalas.getText());
tinggi=Integer.parseInt(txttinggi.getText());
P=Integer.parseInt(txtP.getText());
volume=(alas*tinggi*P)/2;
txtvolume.setText(""+volume);
 |
| Screenshot Run File |
 |
| Screenshot Source Coding |
 |
| Screenshot Design | | | | | | | | |