Question: The program will ask the user for the base and height of two triangles and then display the triangle's area. The program should tell the
The program will ask the user for the base and height of two triangles and then display the triangle's area. The program should tell the user which triangle has the greater area, or if they are the same.
Area height base
input validation: Users should get an error if they enter negative values for Length and Base.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
