How to write a C Program Operation in C Programming Language ?
Solution For C Program :
#include <stdio.h>
int main(){
/*
(x) int 123, 123abc;
(o) int abc, _abc;
*/
int a,b,h;
scanf("%d%d%d",&a,&b,&h);
/*
int area;
area = (a + b) * h / 2;
printf("%d", area);
*/
printf("%d",(a+b)*h/2);
return 0;
}