Question
Please read the question carefully. I need the coupons for each building, each apartment and each month (with the name of the month instead of
Please read the question carefully. I need the coupons for each building, each apartment and each month (with the name of the month instead of month 1 and month 2).
This will generate rent coupons for 4 apartment buildings with has 6 apartments each. Each apartment renter needs a coupon for the 12 individual months in 2016. You are to ask the user for the rent amount (assume a single rent amount for all 24 appartments), then loop through the 4 buildings,and through the 6 apartments,and through the 12 months. Print a message showing:
Building #? Apartment # ?? Month # ??? the rent is due on the 1st and is $ ____
to help clarify they should print building 1, apt 1, month 1, month 2, month 3, month 4, month 5 , month 6, month 7, month 8 , month 9 , month 10 , month 11, month 12
then move to apt 2 in building one, when you have done all 6 apts in building one then move to building two.
the ? is the building number it will be 1,2,3,4,
the ?? is the apartment number it will be 1,2,3,4,5,6
base competencies, use four variables and nested loops. Use a module to print the coupons one at a time. Use at least two modules
advanced competencies, print the month's name on the coupon in addition to the month number, include an apartment complex name, leave two blank lines between each apartment's set of 12 coupons
the ??? will be the month number 1,2,3,4,5,6,7,8,9,10,11,12
the ____ is the number the user entered as the monthly rent
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