0% found this document useful (0 votes)
39 views

ITC Assignment 4

The document outlines specifications for a management system for a fashion store with the following key functions: adding articles, calculating bills, searching for articles, and sorting articles. Articles must be added with an ID, price, and quantity and stored in parallel arrays with a maximum capacity of 100 articles. When calculating bills, the user enters an article ID and quantity and the system searches for the price to calculate a total for each item and a grand total.

Uploaded by

hashaam dogar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

ITC Assignment 4

The document outlines specifications for a management system for a fashion store with the following key functions: adding articles, calculating bills, searching for articles, and sorting articles. Articles must be added with an ID, price, and quantity and stored in parallel arrays with a maximum capacity of 100 articles. When calculating bills, the user enters an article ID and quantity and the system searches for the price to calculate a total for each item and a grand total.

Uploaded by

hashaam dogar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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