I have a few loops that I need in my program. I can write out the pseudo code, but I\'m not entirely sure how to write them logically.
I need -
if (num is
You can try the following:
// Multiple of 10 if ((num % 10) == 0) { // Do something } else if (((num / 10) % 2) != 0) { // 11-20, 31-40, 51-60, 71-80, 91-100 } else { // Other case }