Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Use Visual Basics and c# console application Problem Create a Receipt class that

ID: 3564997 • Letter: U

Question

Use Visual Basics and c# console application

Problem
Create a Receipt class that could be used by an automobile parts store. Items to include as data
members are:
1. Receipt number,
2. Date of purchase,
3. Customer number,
4. Customer name,
5. Customer address,
6. Customer phone number,
7. Item number,
8. Description,
9. Unit price, and
10. Quantity purchased.
For simplicity you may assume each receipt contains a single item number. Include appropriate
constructors and properties plus an additional method that calculates the total cost using the quantity
and unit price. Override the ToString ( ) method to return the information about the customer (name
and phone number) and the total cost of the item purchased. Create a second class to test your Receipt
class from the main method.
Requirements
1) Using proper naming conventions for constants (UPPER_CASE), variables (camelCase) and
methods (PascalCase).
2) Output should be formatted properly.
3) Program should compile and run without errors

Explanation / Answer

To create another class independent for a list, change the document as follows: