Program to find area and perimeter of a triangle in C

Program

#include<stdio.h>
int main()
{
    int base,h,area;
    printf("*********************************************************");
    printf("\n*********************************************************");
    printf("\n**     WAP to find area and perimeter of a triangle    **");
    printf("\n**           Created by Sheetal Garg                   **");
    printf("\n**            Assistant Professor                      **");
    printf("\n**            Phone No:9467863365                      **");
    printf("\n*********************************************************");
    printf("\n*********************************************************");
    printf("\nenter the base of triangle \n ");
    scanf("%d",&base);
    printf("enter the height of triangle \n ");
    scanf("%d",&h);
    area = (base*h) / 2;
    printf("the area of triangle is %d \n",area);
    return 0;
}

Output

*********************************************************
*********************************************************
**     WAP to find area and perimeter of a triangle    **
**           Created by Sheetal Garg                   **
**            Assistant Professor                      **
**            Phone No:9467863365                      **
*********************************************************
*********************************************************
enter the base of triangle  
6
enter the height of triangle 
 3
the area of triangle is 9 
error: You can only copy the programs code and output from this website. You are not allowed to copy anything else.