quick fix..
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) {
//write your code here
int c = a/b;
System.out.println("dividend "+ a);
System.out.println("divisor: "+ b);
System.out.println("quotient "+c);
}
}
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) {
//write your code here
int c = a/b;
System.out.println("dividend "+ a);
System.out.println("divisor: "+ b);
System.out.println("quotient "+c);
}
}