Create LuasSegitiga.c

master
MD15 2020-04-10 12:10:01 +07:00 committed by GitHub
parent 5752c3dd50
commit 9adddfce29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -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);
}