Program Menghitung Luas Segi Lima
Posted by Budi Arieyanto | Posted in Borlant C++ | Posted on 04.52
#include<iostream.h>
#include<conio.h>
void main()
{
const float phi=3.141592;
float cotg,sin,cos,luas,B;
clrscr();
cout<<"MENGHITUNG LUAS SEGI LIMA"<<endl;
B=5;
cotg=36;
luas=phi*B*B*cotg*36/4;
cotg*36=(cos*36)/sin*36);
cout<<"\n\nNilai Luas = "<<luas<<endl;
getche();
}


Comments (0)
Posting Komentar