Computer Science Assignment | Custom Assignment Help
October 1st, 2019
1. Assume that the int variable num contains a positive value if writing an if- statement that displays
“multiple of 5” if the variable num is a multiple of 5.
while (n > 0)
n = n – 5;
if (n == 0)
return true;
return false;
2. Assume that the int variable num contains a positive value if writing an if statement that displays “true” if the variable num is a multiple of 3 but is not a multiple of 24.