I've looked at other people's problems and solutions, and most of them say to print a/b once and it will work, but it doesn't for me. What am I doing wrong?
package com.codegym.task.task03.task0301;
/*
Dividing is good
*/
public class Solution {
public static void main(String[] args) {
div(6, 3);
div(10, 6);
div(2, 4);
}
public static void div(int a, int b) {
System.out.print(a/b);
//write your code here
}
}