What is the right procedure?
package com.codegym.task.task01.task0131;
/*
More conversions
*/
public class Solution {
public static void main(String[] args) {
System.out.println(getFeetFromInches(243));
}
public static int getFeetFromInches(int inches) {
//write your code here
//1 feet=12 inches.Therefore 2.33333333=28
int feet=(int)243/12;
return feet;
}
}