Most financial institutions limit the amount of money you canborrow for a house to 36% of your gross earnings after debt issubtracted. Debt includes what you owe on credit cards and carpayment.
Write a complete C++ program to prompt the user and input grossearnings, amount of credit card debt, and amount of car payment.Compute and output net earnings (earnings – credit card debt – carpayment) and the maximum allowed for a mortgage (.36 * netearnings). Use a preprocessor defined directive to set thepercentage 36%. Format all numbers to have 2 decimal places to theright of the decimal point. Comments are not
PayPal Gateway not configured
PayPal Gateway not configured