Question: Right triangle function: First it should check whether it is a right triangle or not, if yes then calculates the area of the triangle. And
Right triangle function: First it should check whether it is a right triangle or not, if yes then calculates the area of the triangle. And finally displays all details. (if it is not a right triangle, it should ask the user to enter correct values) Distance of two points: Calculates the distance between two points. Note: all of the functions get the input(s) from the user
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
