The output is 20 and now I'm clueless. If anyone has a hint please tell me. :)
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 = 243;
int a = inches / 12;
int b = (int) Math.round(a);
return b;
}
}