Identify which condition is necessary for a number to be rational.

It must not be an endless decimal.

It must to not be negative.

It must be written as a fraction.

It must be able to be expressed as an integer divided by a non-zero integer.

It must be able to be expressed as an integer divided by a non-zero integer.

The condition necessary for a number to be rational is that it must be able to be expressed as a fraction. This means that it can be written as a ratio of two integers, where the denominator is not zero.