Question
Coding Requirements: Create one C# project in a folder named as your name project 2. In the single C# project, create a program to read
Coding Requirements: Create one C# project in a folder named as your name project 2. In the single C# project, create a program to read a set of sales data (given below). Given a valid password, the program should allow the user to select a customer ID and show the associated customer information. The user should be able to add a new customer and to calculate the total sales per the requirements below.
- Form with appropriate controls
- Create password protection for the program minimum length of 10 characters including at least 2 numbers, one capital letter, one lower case letter (no user access if invalid password)
- Create a comma delimited file named Sales.txt containing customerID, customer name and sales for a per the given sales data below
- Allow the user to select a customer to display the customer information from the file
- Use a structured list to store the customer information
- Allow the user to add a new customer (customerID, customer name, sales) to the file
- Perform appropriate data validation
- Create a method to calculate the total sales for all customers
- Display the total sales for all customers (resulting from the method)
Project Requirements:
- Documentation Program Name and Description, Author, Date and key processing elements
- Completeness Logical design including appropriate variable types; Runs without errors
- Creativity Visually appropriate and unique
Extra credit: Create a datafile for passwords and only allow the user to access (use) the program if the password they entered is in the file
Data requirements:
Customer ID | Customer Name | Sales (annual) |
C01 | Batarang Inc. | $20,000.00 |
C02 | CAShield Corp. | $540,050.00 |
C03 | Truth Lasso LLC. | $876,880.00 |
C04 | Green L. Ring | $34,223.00 |
C05 | Web Shooters | $123,887.00 |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started