Program Menghitung Luas Segitiga
Posted by Budi Arieyanto | Posted in Borlant C++ | Posted on 04.48
#include<iostream.h>
#include<conio.h>
void main()
{
float S,H,AL,LS;
clrscr();
cout<<"MENGHITUNG LUAS SEGITIGA"<<endl;
AL=5.0;
H=7.0;
S=45;
LS=0.5*AL*H;
cout<<"\n\nNilai LS = "<<LS<<endl;
getche();
}


Comments (0)
Posting Komentar