If-Else Programming Questions

Enter the angle of a triangle:
Enter the angle of a triangle:
Enter the angle of a triangle:
Valid or Not: