Question: VBA (Visual Basic Application) A real estate office manages 50 apartment units. When the rent is $500 per month, all units are occupied. However, for

VBA (Visual Basic Application) A real estate office manages 50 apartment units. When the rent is $500 per month, all units are occupied. However, for each $50 increase in rent per month, one unit becomes vacant. How many units should be rented to maximize the profit? Write a VBA program that prompts the user to enter: a. (3 points) the rent to occupy all the units. b. (3 points) the increase in rent that results in a vacant unit. c. (6 points) you should display (clearly labeled) in a MsgBox the number of units rented to maximize profit and what the maximum profit at that number would be.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!