Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Obiectives: A shopping mall management company handles, say, 50 units in a famous shopping center (shopping mall). You are hired to help the leasing director

image text in transcribed
image text in transcribed
Obiectives: A shopping mall management company handles, say, 50 units in a famous shopping center (shopping mall). You are hired to help the leasing director maximizing the profit. When the rent is, say, $6000 per month, all the units are occupied. However, for each, say. S$400 increase in rent, one unit becomes vacant. Moreover, each occupied unit requires an average of $270 per month for maintenance. Assumes that empty units have no maintenance cost. How many units should be rented to maximize the profit? Write an algorithm and a C+program that prompts the user to enter The total number of units. The rent to occupy all the units. . The increase in rent that results in a vacant unit. e Amount to maintain a rented unit. The program then outputs the following: Number of units to be rented to maximize the profit. Adjusted rent per unit (new rent per unit) .The maximum profit. Hints: .You will need to use a loop to calculate the profit in the following cases: o when the company rents 1 unit, o when the company rents 2 units o when the company rents 3 units, o and when the company rents all the units .You can use the following equations to calculate the profit: Vacant Units Number of Units-number of Rented Units Tolal Rent Increase Rent Increase Vacant Units Adjusted Rent Per Unit Rent Per Unit +Total Rent Increase Total Rent Number of Rented Units Adjusted Rent Per Unit Total Maintenance Expenses Niumber of Rented Units Maintenance Expenses Per Rented Un profit Total Rent - Total Maintenance Expenses output the maximum profit, the adjusted rent per unit, and the number of rented units in this case

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Rob, Carlos Coronel

3rd Edition

0760049041, 978-0760049044

More Books

Students also viewed these Databases questions