#include <stdio.h>
void main(){
float area,parallel,high;
area = 0;
printf("Area of Trapezoid\n");
printf("Enter Parallel:");
scanf("%f",¶llel);
printf("\nEnter High:");
scanf("%f",&high);
parallel = 0.5*parallel;
area = parallel*high;
printf("\nArea of Trapezoid = %f",area);
}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น