Introduction to Computer Programming:

Triangle Check Example