// Continue playing as long as the game is not over
// (a team does not have a score of 15 or more
// with a difference of at least 2)
while (!((buffstate >= 15 || notredame >= 15) && (buffstate - notredame <= 2 || notredame - buffstate >= 2)))
Im not sure if my boolean expression is correct? The program executes, however its not following the (difference of at least 2 for the score)
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment