Https://www.codecademy.com/courses/learn-java/lessons/introduction-to-java/exercises/math-2?action=lesson_resume


#1

<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.>
https://www.codecademy.com/courses/learn-java/lessons/introduction-to-java/exercises/math-2?action=lesson_resume

<In what way does your code behave incorrectly? Include ALL error messages.>
public class Modulo {
public static void main(String[] args) {

	int myRemainder = 7 % 5;
	System.out.println(myRemainder);

}

}

wouldn’t 8%4 be right?

```

Replace this line with your code.
8%4

<do not remove the three backticks above>

https://www.codecademy.com/courses/learn-java/lessons/introduction-to-java/exercises/math-2?action=lesson_resume

#2

… what?
Pretend you’re talking to a random person on the internet, where you have to explain what’s going on and what your thought process is. (Which is what this is)
Also helps to tidy up the formatting


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.