I'm an idiot and can't figure out what's wrong with this. I want to ask for 3 angles of a triangle and make sure they total 180 degrees and if not, ask again.
what's wrong with this? I get caught in an infinite loop
Do Until j = 180
angleABC = InputBox("Enter the Angle ABC (in degrees)")
angleBCA = InputBox("Enter the Angle BCA (in degrees)")
angleCAB = InputBox("Enter the Angle CAB (in degrees)")
j = angleABC + angleBCA + angleCAB
Loop
what's wrong with this? I get caught in an infinite loop
Do Until j = 180
angleABC = InputBox("Enter the Angle ABC (in degrees)")
angleBCA = InputBox("Enter the Angle BCA (in degrees)")
angleCAB = InputBox("Enter the Angle CAB (in degrees)")
j = angleABC + angleBCA + angleCAB
Loop