Banner

Banner
Powered by- Swapno Computer Institute

ত্রিভুজের ক্ষেত্রফল নির্ণয় || Area of Triangle

Algorithm

Step 1: Start
Step 2: Input base and height
Step 3: Average=0.5*base*height
Step 4: Print Average
Step 5: End

Flowchart



C-Program

#include
int main()
{
float base,height,area;
printf("Enter base and height:");
scanf("%f%f",&base,&height);
area=0.5*base*height;
printf("Area is:%f",area);
getch();
}

Source and Run File

Post a Comment

0 Comments