Major : TMD
This video that I have been created and explain by English, How to Calculate Trapezoid and Print Hello world with C program.
Code
#include<stdio.h>
#include<stdlib.h>
int main(void)
{
float base1,base2,height,Calculate;
printf("Area of a Trapezoid\n");
printf("base1:");
scanf_s("%f",&base1);
printf("base2:");
scanf_s("%f",&base2);
printf("Height:");
scanf_s("%f",&height);
Calculate= (base1+base2)*height/2;
printf("Calculate Trapezoid %.3f\n",Calculate);
system("pause");
return 0;
}
1. Video Calculate Trapezoid.
This Link to Video.
http://www.youtube.com/watch?v=cW3HxPP92vk
https://www.youtube.com/watch?v=vqF1kOf97yY
No comments:
Post a Comment