C++ Program to Calculate Area of a Triangle
o calculate area of a triangle we use the formula area=(base*length)/2
//C++ Program to Calculate area of a triangle"
using namespace std;
float b, h, area;
cout<<"Enter base: ";
cout<<"Enter height: ";
cout<<"Area = "<< area;
Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more.
Sign Up for our weekly newsletter to get update about new content.