Lucy Landlord owns five houses. She refers to these houses by the number of their street address. For example, when referring to “601 Pine,” she simply says “601.” The houses and their monthly rents are:
Address | Rent |
128 | $500 |
204 | $750 |
601 | $495 |
609 | $800 |
612 | $940 |
Write a program into which Lucy can type the address number and then have the program display the appropriate rent. Save the file as Landlord.cpp.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.