## Remainder

Another “classic” programming interview question. The Question Given a numerator and denominator, calculate the remainder. The Answer The Trivial Way: This question is trivial if you use the modulus (%) operator. Simply read the user input, calculate and display the modulus and you are finished. I added one simply check to ensure … Continue reading