# FAQ: Working with Numbers - Modulo

This community-built FAQ covers the “Modulo” exercise from the lesson “Working with Numbers”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Learn C#

## FAQs on the exercise Modulo

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

## Join the Discussion. Help a fellow learner on their journey.

Agree with a comment or answer? Like () to up-vote the contribution!

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

Hello,

My question is less about the Modulo and more about the Console.WriteLine() statement.

In the examples before the “Instructions” the following is written:

int myNum = 85939824;
Console.Write(myNum % 2); // prints 0, so number is even

When doing the “Instructions” I used:

Console.Write(students%groupSize);

which returned the correct result 0, but the error message came up telling me to use Console.WriteLine() instead.

What is the difference between the two?

The second line of code is wrong its meant to be Console.WriteLine(students % groupSize);
You were very close though sorry for late reply.

“You need to find a number that will go evenly into 18 (without a remainder) so that there are an even number of students. The groups should have more than 2 students in each group, but no more than 5.”

There’s a typo - I think it should say no less than 2.

1 Like