If the three sides of a Triangle are entered through the keyboard, write a program to check whether the Triangle…