Using C++ programming language create a class triangle that has three sides as class members and contains overloaded constructor. If two sides are given then calculate area as ½ * side1 * side2. However if three sides are given then calculate area using the Heron’s formula.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here