A triangle has angles measuring 30 and 40 degrees. How many degrees is the missing angle?