flowchart and visual logic

Lab 4: Chapter 9 Exercise 4 on page 421 – programming logic and design create the logic for a program that accepts an anual 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.