Question
A banner maker has asked you to write a program to help her figure out how much to charge customers for banners. She charges by
A banner maker has asked you to write a program to help her figure out how much to charge customers for banners. She charges by the foot, so she needs an app that will PROMPT the user for the banner height, in feet. The price will then be calculated based on the banner's height. If the height is under four feet, the fee will be $69.95. If the height is from four to seven feet inclusive the fee will be $119.99. For banners with a height above seven feet the fee will be $179.95. USE ONLY NAMED CONSTANTS (see pp 80-81) FOR EVERY CONSTANT SHOWN HERE (note that both the sizes and fees are all constants.) Use only nested decisions to solve this problem. In your output, demonstrate that it calculates the correct fee for all three banner sizes. USE NESTED DECISIONS to solve this.
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