Given the measurements of 3 angles in degrees as parameters to the solve() function, determine if they can form a triangle or not. If they can form a triangle, print Yes. If they cannot form a valid triangle, print No.
The arithmetic operators +, -, *, / are used for addition, subtraction, multiplication, and division in Bash the same way they are used in other programming languages. You can use
$(( $1 + $2 + $3 )) for bash arithmetic expansion.Tip: The sum of all angles of a triangle is 180 degrees.