Create LuasSegitiga.c
parent
5752c3dd50
commit
9adddfce29
|
@ -0,0 +1,7 @@
|
|||
#include <stdio.h>
|
||||
int main () {
|
||||
float alas, tinggi, luas;
|
||||
scanf("%f %f",&alas, &tinggi);
|
||||
luas= alas*tinggi/2;
|
||||
printf("%.2f\n",luas);
|
||||
}
|
Loading…
Reference in New Issue