i think this System.out.println("When your two fractions are added, they equal: "ratAdd); and the below should be System.out.println("When your two fractions are added, they equal: " + ratAdd);