public class Hw08 { public static void main(String[] args) { int x, y; float z; x = 59; y = 7; z = divxy(x, y); System.out.printf("%2d / %2d = %2.6f\n", x, y, z); } public static float divxy(int X, int Y) { float Z = (float)X / (float)Y; return (Z); } }