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

Concept explainers

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

Program Plan:

  • Under the namespace MuralsRevenue and in class MuralsRevenue create a main method. Inside main method perform the following tasks.
  • Create two arraysinteriorMuralCustomers and exteriorMuralCustomers of type string of dimension 2 * interiorMurals and 2*exteriorMurals respectively.
  • Use for loop to read in names of customers and their talent codes for interior murals. Store each name along first row of array interiorMuralCustomers and each mural code along the second row. Use do-while loop inside this for loop to read only the valid mural codes until a right mural code is entered for each customer.
  • Do same procedure for exterior mural customers as well.
  • Next create variablesLcount, Scount, Acount, Ccount and Ocount to store the number of customers in each category.
  • Use for loop to scan through both interiorMuralsCustomer and ExteriorMuralCustomers array and increment the values of above variables as per found category.
  • Finally ask the user for a mural style category and use another for loop to list names in customer belonging to this category.

Program Description:

The main purpose of the program is to modify the MuralsRevenue program from previous chapter to get entry for names of each customer for both interior and exterior murals. Then show number of murals for each category of mural codes and also name customers as per mural codes.

Blurred answer
Students have asked these similar questions
• Solve the problem (pls refer to the inserted image) and create line graph.
who started the world wide web
Question No 1: (Topic: Systems for collaboration and social business The information systems function in business) How does Porter's competitive forces model help companies develop competitive strategies using information systems? • List and describe four competitive strategies enabled by information systems that firms can pursue. • Describe how information systems can support each of these competitive strategies and give examples.
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
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
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:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT