while loop that checks to see if either of the values stored for the second triangle's variables are left empty