Menghitung Luas Segitiga
|
HASIL PROGRAM 2 |
// Menghitung Luas Segitiga //
#include
#include
void main()
{
float a, t;
float L;
clrscr();
a = 15.5 ;
t = 50 ;
L = (a * t)/2;
cout<<"Alas :"<
cout<<"\nTinggi :"<
cout<<"\nLuas Segitiga :"<
}
No comments:
Post a Comment