Microsoft Visual C#
Microsoft Visual C#
7th Edition
ISBN: 9781337102100
Author: Joyce, Farrell.
Publisher: Cengage Learning,
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 4, Problem 2CP

In Chapter 2, you created an interactive application named MarshallsRevenue, and in Chapter 3 you created a GUI version of the application named MarshallsRevenueGUI. The programs prompt a user for the number of interior and exterior murals scheduled to be painted during the next month by Marshall’s Murals. Next, the programs compute the expected revenue for each type of mural when interior murals cost $500 each and exterior murals cost $750 each. The applications also display the total expected revenue and a statement that indicates whether more interior murals are scheduled than exterior ones. Now, modify one or both of the applications to accept a numeric value for the month being scheduled and to modify the pricing as follows:

• Because of uncertain weather conditions, exterior murals cannot be painted in December through February, so change the number of exterior murals to 0 for those months.

• Marshall prefers to paint exterior murals in April, May, September, and October. To encourage business, he charges only $699 for an exterior mural during those months. Murals in other months continue to cost $750.

• Marshall prefers to paint interior murals in July and August, so he charges only 9450 for an interior mural during those months. Murals in other months continue to cost $500.

Blurred answer
Students have asked these similar questions
The Megawatt Solar Panel Company installs solar panels on home rooftops. The base installation charge of $2,000 includes two panels. The charge for each additional panel is $300. The normal waiting time for installation is two weeks, but customers can pay an express charge of 5% of the total cost to reduce this time. Create an application that collects the required information from the user and calculates the charges for the installation.
There are three seating categories at a high school athletic stadium. For a baseball game, Class A seats cost $15 each, Class B seats cost $12 each, and Class C seats cost $9 each. Create an application that allows the user to enter the number of tickets sold for each class. The application should be able to display the amount of income generated from each class of ticket sales and the total revenue generated. If the user fails to enter numeric values, display an appropriate error message and do not attempt to perform calculations. Use the following test data to determine if the application is calculating properly:Ticket Sales RevenueClass A: 320 Class A: $4800.00Class B: 570 Class B: $6840.00Class C: 890 Class C: $8010.00Total Revenue: $19650.00Class A: 500 Class A: $7500.00Class B: 750 Class B: $9000.00Class C: 1200 Class C: $10800.00Total Revenue: $27300.00Class A: 100 Class A: $1500.00Class B: 300 Class B: $3600.00Class C: 500 Class C: $4500.00Total Revenue: $9600.00 Use Visual…
There are three seating categories at a high school athletic stadium. For a baseball game, Class A seats cost $15 each, Class B seats cost $12 each, and Class C seats cost $9 each. Create an application that allows the user to enter the number of tickets sold for each class. The application should be able to display the amount of income generated from each class of ticket sales and the total revenue generated. If the user fails to enter numeric values, display an appropriate error message and do not attempt to perform calculations Use the following test data to determine if the application is calculating properly:Ticket Sales RevenueClass A: 320 Class A: $4800.00Class B: 570 Class B: $6840.00Class C: 890 Class C: $8010.00Total Revenue: $19650.00Class A: 500 Class A: $7500.00Class B: 750 Class B: $9000.00Class C: 1200 Class C: $10800.00Total Revenue: $27300.00Class A: 100 Class A: $1500.00Class B: 300 Class B: $3600.00Class C: 500 Class C: $4500.00Total Revenue: $9600.00

Chapter 4 Solutions

Microsoft Visual C#

Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Time Complexity Analysis - How To Calculate Running Time | InterviewBit; Author: InterviewBit;https://www.youtube.com/watch?v=--oxG4Q1PA0;License: Standard YouTube License, CC-BY