Area of triangle

an anonymous user · August 01, 2020 · C++
#include <iostream>
#include <conio>
void Area(void);
void main()
{
    clrscr();
    Area();
    getch();
 
void area(void)

int a,b,c;
cout<<"Enter 2 int nos\n";
cin>>a>>b;
c=0.5*b*h
cout<<"Area="<<c;
}

Comments

Please sign up or log in to contribute to the discussion.