MICROSOFT VISUAL C# <CUSTOM LL>
MICROSOFT VISUAL C# <CUSTOM LL>
7th Edition
ISBN: 9780357093344
Author: FARRELL
Publisher: CENGAGE C
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
Refer to page 75 for graph-related problems. Instructions: • Implement a greedy graph coloring algorithm for the given graph. • Demonstrate the steps to assign colors while minimizing the chromatic number. • Analyze the time complexity and limitations of the approach. Link [https://drive.google.com/file/d/1wKSrun-GlxirS3IZ9qoHazb9tC440 AZF/view?usp=sharing]
Refer to page 150 for problems on socket programming. Instructions: • Develop a client-server application using sockets to exchange messages. • Implement both TCP and UDP communication and highlight their differences. • Test the program under different network conditions and analyze results. Link: [https://drive.google.com/file/d/1wKSrun-GlxirS31Z9qo Hazb9tC440AZF/view?usp=sharing]
Refer to page 80 for problems on white-box testing. Instructions: • Perform control flow testing for the given program, drawing the control flow graph (CFG). • Design test cases to achieve statement, branch, and path coverage. • Justify the adequacy of your test cases using the CFG. Link: [https://drive.google.com/file/d/1wKSrun-GlxirS3IZ9qo Hazb9tC440 AZF/view?usp=sharing]
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