9/12

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
9/12

<In what way does your code behave incorrectly? Include ALL error messages.>
i cant get the dividing correct normaly 10 divided by 5 is 2

```

Replace this line with your code.

<do not remove the three backticks above>

Lesson

You are asked to do modulo operation (find remainder of dividing).

The modulo operator - represented in Java by the % symbol - returns the remainder of dividing two numbers.

For example, 10 % 3 = 1, because 10 = 3 * 3 + 1. 10 gives remainder equal 1 when dividing by 3.
You must provide such example, which will return remainder equal 2.

14 % 6 it leaves remainder 2 but no answer

Could you describe more your problem and paste the code?

now i get that its asked for but still isnt ’ 11 % 3 ’ is 2 ?

Modulo.java:4: error: ‘;’ expected
int myRemainder = 11 % 3
^
1 error

oh i found out you need to finish sentence

Your error message told you what you need to change :wink:

i dont get it heres my code

public class Modulo {
public static void main(String args) {

	int myRemainder = 11 % 3 
  
  System.out.println(myRemainder);

}

}