Write an expression that evaluates to true if the value of the integer variable numberOfPrizes is divisible (with no remainder) by the integer variable numberOfParticipants. (Assume that numberOfParticipants is not zero.)
.
.
Click on the title for the solution
.
.
.
Click on the title for the solution
.
.
This is the answer:
:
numberOfPrizes%numberOfParticipants==0
Comments
Post a Comment