area of trapezium formula
Area of trapezium (UK) or trapezoid (US) = (sum of parallel sides) / 2 * height
area of trapezium formula
Area of trapezium (UK) or trapezoid (US) = (sum of parallel sides) / 2 * height
formula to find the area of a trapezium in c
/*
formula is : (base1 + base2) / 2 * height
*/
#include <stdio.h>
int main()
{
double base1, base2, height, area;
scanf("%lf %lf %lf", &base1, &base2, &height);
area = (base1 + base2) / 2 * height; // applying formula
printf("Area: %0.3lf\n", area);
return 0;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us