Back To C++ Basic Index
//program to input base and height of right angled triangle and find area of right angled triangle #include
#include
void main() { int base; int height; float area; clrscr(); cout<<"enter base of right angle triangle"; cin>>base; cout<<"enter height of right angle triangle"; cin>>height; area=0.5*base*height; cout<<"area of right angle triangle is "<