Instead of printing out a number, the computer prints out NaN. Whats going on?

Computer going NaN printing prints
0
Posted

Instead of printing out a number, the computer prints out NaN. Whats going on?

0

NaN stands for “not a number.” It occurs when you apply an illegal operation (divide by 0) to a floating-point number.

Related Questions