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

A. If must not be negative
B. It must be written as a fraction
C. It must be able to be expressed as an integer to divide by a nonzero integer
D. It must not be an endless decimal

B. It must be written as a fraction

The correct answer is B. It must be written as a fraction. A rational number is defined as a number that can be expressed as the quotient or fraction of two integers, where the denominator is not zero.