create the logic for a program that accepts an annual salary as input

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 years total payment is no than 25 percent of the annual salary

[promo1]