Menghitung Luas Segitiga
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjImRdiXYjNabSIpNccN0_CMrEnCKYpvRgB5etUYtF8HOGDU7onCw-jYYaxuf_pKepBApgokECxKvvp-etchgI2l6RgxawJipPLfRifkK_l32zC2_u3oxMjPbE5EW8ePxdPry2qLcwfEX8/s1600/2.png) |
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