#include <vcl.h>
#include <stdio.h>
#include <conio.h>
main()
{
int p,l,t,v,L;
printf("panjang: ");scanf("%d",&p);
printf("lebar: ");scanf("%d",&l);
printf("tinggi: ");scanf("%d",&t);
v=p*l*t;
L=(2*p*t)+(2*p*l)+(2*l*t);
printf("volume balok:%d",v);
printf("\nLuas permukaan:%d",L);
getch();
}
ConversionConversion EmoticonEmoticon