(Solved):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… View Answer…

 

Question

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.

 

EXPERT ANSWER

Here is the logic of the solution to above problem written in pseudocode:

Main:
1.Declare annualSalary
2.Display "Enter your annual salary to

Scroll to top