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

a it must not be an endless decimal
b it must be written as a fraction
c it must be able to be expressed an as integer divided by a nonzero integer
d it must not be negative

b it must be written as a fraction is necessary for a number to be rational.