EBK MICROSOFT VISUAL C#: AN INTRODUCTIO
EBK MICROSOFT VISUAL C#: AN INTRODUCTIO
7th Edition
ISBN: 9781337516303
Author: FARRELL
Publisher: YUZU
Question
Book Icon
Chapter 6, Problem 9E
Program Plan Intro

Program Plan

1. Below mentioned variables are used

  • salesPerson[]− Array that stores the names of a salesperson.
  • initials[]− Array that stores the initials of a salesperson.
  • input − input variable that reads the initial of a salesperson as string value from the console.
  • salesValues[] - Array that stores the number of sales by each salesperson.
  • totalSaleAmount − Accumulated sales amount of all the salespeople.
  • saleAmount − Sale amount given as input by the user.

Program description:

This Program is for creating a console application that gets the initials of a salesperson and then gets the sale amount by that salesperson. It calculates the total sale amount of each person individually and then calculates the total sale amounts by the entire salespersons. Finally, the salesperson with the highest sales value is displayed.

Blurred answer
Students have asked these similar questions
After our initial deployment for our ML home based security system, the first steps we took to contribute further to the project, we conducted load testing, tested and optimize for low latency, and automated user onboarding. What should be next?
Why investing in skills and technology is a critical factor in the financial management aspect of system projects.
why investing in skills and technology is a critical factor in the financial management aspect of systems projects.
Knowledge Booster
Background pattern image
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
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781305480537
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT