You are on page 1of 2

ITC Assignment 4

Due Date: Tuesday 7th February 2023

A ‘fashion wear’ department store needs a management system that must performs the
following tasks:
1. Add article.
2. Calculate bill.
3. Search article.
4. Sort article.
Specifications:

 The program should be menu driven and must exit on the choice of user.
 The total capacity of store is maximum 100 articles.
 Add Article option allows user to enter the article id (numeric), price/rate of the
article, and its quantity in stock. (A sample screen shot is given at the end of page,
you don’t need to exactly follow that it’s just a sample).
 Make use of three separate arrays of size 100 each to store the id, price and quantity
(using concept of parallel arrays)
 Sort article will ask you to enter your choice to sort by id or price and then sort
accordingly.
 In calculate customer bill, you need following information before generating the final
bill:
Enter the article id and the quantity of the article customer purchased, and get its
price by searching the article using id , and calculate the total by multiplying the
price with the quantity. Continue this process till all purchased items bills has been
calculated and then display the grand total along with the invoice as given below.

SN. Article_id Price Quantity Total


1.
2.
….
Your Grand Total is: -------------
A Sample Screen Shot of Adding Article

You might also like