I have tried multiple solutions to this. I get the output of "2" but it still says it's wrong. Please help
package com.codegym.task.task01.task0131;
/*
More conversions
*/
public class Solution {
public static void main(String[] args) {
System.out.println(getFeetFromInches(28));
}
public static int getFeetFromInches(int inches) {
inches = 28;
int demToes = inches / 12;
return demToes;
}
}