0
helpppp why doesnt this code work?
class Programme{ static int min(int a, int b) { if(a<b){ return a; } else{ return b; } } public static void main(String[ ] args) { System.out.printIn(min(6,7)); } }
3 odpowiedzi
+ 1
program is true just change letter 'I' with'l' in println.the letter is L not i.
0
your main is in the wrong place. make sure its before everything.
0
should be
System.out.println not System.out.printIn you wrote capital i instead of small L