Write an expression that evaluates to true if the int associated with number_of_prizes is divisible (with no remainder) by the int associated with number_of_participants. assume that the latter is not zero.

Respuesta :

We need to find the expression for " number_of_prizes is divisible number_of_participants". Also there should not remain any remainder left. On in order words, we can say the reaminder we get after division is 0.

Let us assume number of Prizes are = p and

Number of participants = n.

If we divide number of Prizes by number of participants and there will be not remainder then there would be some quotient remaining and that quotent would be a whole number.

Let us assume that quotent is taken by q.

So, we can setup an expression now.

Let us rephrase the statement .

" Number of Prizes ÷ Number of participants  = quotient".

p ÷ n = q.

In fraction form we can write

p/n =q   ; n ≠ 0.