Step-by-step Instant Solution
Create the logic for a program that accepts an annual salary as input. Pass the salary to a method that calculates the highest monthly housing payment the user can afford, assuming that the year?s total payment is no more than 25 percent of the annual salary.
float Calculate_Month_Rent(float Sal)
float housing_rent, monthly_Sal;
monthly_Sal = Sal/12;
housing_rent = monthly_Sal/4;
Paper#9256669 | Written in 27-Jul-2016Price : $17.85