একটি ত্রিভুজের ক্ষেত্রফল নির্ণয়ের জন্য সি ভাষায় প্রোগ্রামিং
#include<stdio.h>
#include<conio.h>
main()
{
Flaot b,h,a;
Printf("Enter
the base of the Trinangle:");
scanf("%f",&b);
Printf("Enter
the height of the Trinangle:");
scanf("%f",&h);
a=(b*h)/2;
printf("Area
of the triangle is = %f\n ",a);
getch();
}
Output
Enter the
base of the triangle: 23
Enter the
height of the triangle: 12
Area of the
triangle is = 138.00
Copy This code From here:

Comments
Post a Comment