#include
#include
void main()
{
float t,b,h;
clrscr();
printf("enter value for b:");
scanf("%f",&b);
printf("enter value for h:");
scanf("%f",&h);
t=(float)0.5*b*h;
printf("%f",t);
getch();
}
this blog is for the new programmer in programing field...
1 comments:
What was the out put?
Post a Comment