Reference no: EM132747992
Problem Specification:
David Jones, a department store, hired you as a Software Engineer to design and develop a C# object-oriented solution to identify the suppliers to whom David Jones owes more than $600.00
The David Jones store keeps the following information for each of its supplier:
a) Supplier name (must be between 5 and 15 characters)
b) Account number (must be 6 digits and start with digit ‘2')
c) Account balance ($) at the beginning of a particular month, that is, amount owing by David Jones to this supplier ( >= 0 )
d) Total of all purchases ($) by David Jones from this supplier this month
e) Total of all payments ($) made by David Jones to this supplier this month; no overpayments are to be made by David Jones
f) Amount owing ($) at the end of the month by David Jones to this supplier
Program input:
The program should take the following input in the order given, and by using the appropriate prompts:
1. Check if the user wishes to track any supplier's status, and if so:
1.1. the number of suppliers whose details are required; the program must allow for any number of suppliers greater than zero
1.2. the details of suppliers (items (a)-(e) specified above), supplier by supplier, using an appropriate data structure (taught in lectures) to store information for a number of suppliers.
Note:
1. You are required to use the object-oriented concepts from C# taught in lectures.
You are required to create two classes - one for supplier, and one application class for creating the necessary objects.
2. Your program must generate an appropriate error message if any input does not follow the required criteria and then request the user to re-enter the input.
Program output:
The program should display
1. All the account numbers with the corresponding account balances at the end of the month for all suppliers, and
2. For any supplier to whom David Jones owes more than $600.00 at the end of the month, the program should display the message: "Payment of this account is due now."
Attachment:- Assessment Part_2.rar