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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started