" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
#include <stdio.h>
int main()
{
float altura, base;
printf( "Introduzca la base: " );
scanf( "%f", &base );
printf( "Introduzca la altura: " );
scanf( "%f", &altura );
printf( "El area del triangulo es: %f", base * altura / 2 );
return 0;
}