If you know the law of sines and cosines, you will realize that not every triangle is a right triangle. If all of the three angles add up to 180, then you would say that it is a right triangle. Here is a sheet that you can use if you know sines and cosines law.