#include<stdio.h>
#include<conio.h>
int main()
{
clrscr();
int a,b,triangle;
printf("enter the value a:");
scanf("%d",&a);
printf("enter the value b:");
scanf("%d",&b);
triangle=(a*b)/2;
printf("the required value is:");
printf("%d",triangle);
getch();
return(0);
}
No comments:
Post a Comment