Computer Science, asked by vinothgce03, 9 months ago

how to print 10 modulo 7 in java?​

Answers

Answered by sarahjain2129
0

Answer:

int x = 10%7

Explanation:

Answered by AakashMaurya21
1

module operator gives the remaining remainder.

you can write like this:

int i = 10 % 7

this will return 3 as answer.

hope it helps.

Similar questions