Categories
Simple application

Assignment ● You will need to develop a program to: ○ Collect the data from the

Assignment
● You will need to develop a program to:
○ Collect the data from the CSV file that contains the input received from multiple
dry cleaning companies (one row per company), with the following columns:
■ Name of the company
■ Street Address (123 Main St., #159)
■ City
■ State
■ 5-digit Zip Code
■ Shirt price
■ Pants price
■ Blazer price
■ Dress price
■ Sweater price
○ Offer a user to enter the quantity for each five items they need to get cleaned or
laundered, e.g.,
■ Enter the number of shirts you need to get laundered and pressed (0, or
more):
■ Enter the number of pants you need to get dry cleaned:
■ Enter the number of blazers you need to get dry cleaned
■ Enter the number of dresses you need to get dry cleaned
■ Enter the number of sweaters you need to get dry cleaned
○ Calculate the total price a customer would need to pay to each of the dry
cleaning companies
○ Display the name of the cleaning company which will charge the least amount in
total for the given item quantities
Notes:
While not mandatory, it is recommended that your program uses an array of classes to maintain
the data of the dry cleaning companies with a member function to calculate the total price for
specific quantities of items, e.g.:
dryCleaningCompany vendors[];

Categories
Simple application

Assignment ● You will need to develop a program to: ○ Collect the data from the

Assignment
● You will need to develop a program to:
○ Collect the data from the CSV file that contains the input received from multiple
dry cleaning companies (one row per company), with the following columns:
■ Name of the company
■ Street Address (123 Main St., #159)
■ City
■ State
■ 5-digit Zip Code
■ Shirt price
■ Pants price
■ Blazer price
■ Dress price
■ Sweater price
○ Offer a user to enter the quantity for each five items they need to get cleaned or
laundered, e.g.,
■ Enter the number of shirts you need to get laundered and pressed (0, or
more):
■ Enter the number of pants you need to get dry cleaned:
■ Enter the number of blazers you need to get dry cleaned
■ Enter the number of dresses you need to get dry cleaned
■ Enter the number of sweaters you need to get dry cleaned
○ Calculate the total price a customer would need to pay to each of the dry
cleaning companies
○ Display the name of the cleaning company which will charge the least amount in
total for the given item quantities
Notes:
While not mandatory, it is recommended that your program uses an array of classes to maintain
the data of the dry cleaning companies with a member function to calculate the total price for
specific quantities of items, e.g.:
dryCleaningCompany vendors[];