Write a linux bash script that will accept the sides of a triangle, let them be a, b, c. Based on these variable values determine if the triangle is right angled triangle or not, by using Pythagoras theorem.
Hint: if c^2 = a^2 + b^2then the given sides are right angled triangle else not a right angled triangle.
Comments
Leave a comment