Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void printDivInt(int x, int y) {
- int result = x / y;
- int resto = x - result * y;
- System.out.println(x + "/" + y + " = " + result + " con resto " + resto);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement