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
Write a GUI-based program to compute the new pay of an employee for a given pay raise rate. The program should prompt the user to enter the name of the employee, the current pay and pay raise rate (in percentages) using text boxes. The program will then calculate the new pay in a method using the below formula: newPay = currentPay + currentPay * payRaiseRate/100 and display the new pay in a text box. Be sure to add error handling to this method in the GUI program for computing the new pay of the affected employee. This is all supposed to be done in python.
A software company sells a package that retails for $99. Quantity discounts are given according to the following table: Quantity Discount 10-19 10% 20-49 20% 50-99 30% 100 or more 40%  Write a GUI program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount. A successful test run of the program for different inputs is as shown below:
you will develop a small Java application with a GUI to help a business owner record the personal and salary information of the employees in his/her organization. We assume that there are at most 10 employees. Each employee has the following personal information: first name, last name, and social security number. In addition, each employee has an employment grade, basic salary, and allowances. There are three employment grades: A, B, and C. Your application should help the business owner to determine the total payment for each employee based on the following table: Grade A Total pay = Basic Salary + Allowances Grade B Total pay = Basic Salary + 1.1 * Allowances Grade C Total pay = 1.1 * Basic Salary + 1.2 * Allowances

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
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781305480537
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Time Complexity Analysis - How To Calculate Running Time | InterviewBit; Author: InterviewBit;https://www.youtube.com/watch?v=--oxG4Q1PA0;License: Standard YouTube License, CC-BY