Sisi Miring,Luas,dan Keliling Segitiga untuk C/C++

#include
#include
#include

void main()
{

float a,t,r,K,L;


scanf("%f%f",&a,&t);

r=sqrt(a*a+t*t);

K=a+r+t;

L=(a*t)/2;

printf("r=%.2f, K= %.2f, L= %.2f",&r,&K,&L);

getch();
}

You can leave a response.

One Response to “Sisi Miring,Luas,dan Keliling Segitiga untuk C/C++”

  1. Anonim says:

    simply but sure.......
    nice inpo gan..........
    tapi includenya kok kosong???????

Leave a Reply