Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Step: 3

blur-text-image

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

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

ISBN: 0764549634, 9780764549632

More Books

Students also viewed these Databases questions