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

Concept explainers

Question
Book Icon
Chapter 9, Problem 2CP
Program Plan Intro

Program Plan:

  • The class Mural is defined which has a data type custName of type string, code of type char, descrp of type string and two static arrays muralCode and muralDescription.
  • Inside MarshallRevenue programfollowing functions are used:
  • getMonth(), getMural(), and getRevenue()to get month, number of murals and revenue generated from all murals.
  • Inside main method of MarshallRevenue program following variables are used:
  • month, exteriorMurals, andinteriorMuralstostore the month and number of interior and exterior murals.
  • An array of object of class Mural is declared of size equal to number of total exterior and interior murals.
  • A for loop is used to set code and custName property of each array object.
  • A for loop is used to read and display the customers names belonging to each mural category.

Program Description:

The main purpose of the program is to implement the mural class and use this class inside the MarshallRevenue program.

Blurred answer
Students have asked these similar questions
show work
show work on paper
show work on paper
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 Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781305480537
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr