Program Menghitung Luas Jajar Genjang
Posted by Budi Arieyanto | Posted in Borlant C++ | Posted on 04.51
#include<iostream.h>
#include<conio.h>
void main()
{
float A,B,H,sin,X,L;
clrscr();
cout<<"MENGHITUNG LUAS JAJAR GENJANG"<<endl;
cout<<"\n\nMasukan A = ";cin>>A;
cout<<"Masukan B = ";cin>>B;
X=60;
H=A*sin*X;
L=B*H;
cout<<"\n\nNilai L = "<<L<<endl;
getche();
}


Comments (0)
Posting Komentar