I cannot seem understand what happen on my code and does i make mistake? why the output do not come out
package com.codegym.task.task02.task0214;
/*
Minimum of two numbers
*/
public class Solution {
public static int min(int a, int b) {
//write your code here
if(int a < int b){
return a;
}
else{
return b;
}
}
public static void main(String[] args) throws Exception {
System.out.println(min(12, 33));
System.out.println(min(-20, 0));
System.out.println(min(-10, -20));
}
}