Write a program that has two functions, one to check if a triangle is valid, and the other to calculate its area.
Sample Output: Enter side 1: 3 Enter side 2: 4 Enter side 3: 5 The area is 6.0 Hints:
Comments are closed.
|
Write a program that has two functions, one to check if a triangle is valid, and the other to calculate its area.
Sample Output: Enter side 1: 3 Enter side 2: 4 Enter side 3: 5 The area is 6.0 Hints:
Comments are closed.
|