class Mortgage{ public static void main(String[]args){ int rateOfInterest = 6; float monthlyRoi = (rateOfInterest/100)*12; System.out.print("Rate of Interest : "+ monthlyRoi); } }