Mudolu operator


#1

I wrote 17%3 and 5%3 but it keeps saying (error the remainder must equal 2)
What’s is wrong
Cause I think it’s wright


Math: % - Why do I get an error?
#2

Should I use limited numbers or I am allowed to use all numbers .
I need answer please


#3

myRemainder =5%3;
When they asked me for reminder equal 2
Is it wright. .cause they told me so


#4

please include your full code, any error messages, maybe a screenshot? Anything that can help us see the issue


#5


#6

Java code can’t run without a class and its main method, where are they? Look at the error message in the output window

You first print the variable, then you define the variable, that doesn’t work. How is Java suppose to know what it needs to print for myRemainder?

You first need to define a variable before you can print it


#7


#8

#9

A post was split to a new topic: Uncomment


#10