Write a C program.Create a sales automation project that sells products with the help of product information, customer information. The analysis of the purchase products should be made and shown...


Write a C program.Create a sales automation project that sells products with the help of product information, customer information. The analysis of the purchase products should be made and shown according to the customer, product type, quantity and amount. Keep data with linked lists feature.


In sales automation, product information consists of:: product number,


product name,


product type (i.e. 1 for fruit, 2 for vegetable, 3 for meat etc. ), price and


next product object’s address (pointer)


Customer information consists of: customer number,


customer name,


customer type (i.e. 1 for personal, 2 for commercial), x coordinate of customer location,


x coordinate of customer location and, next customer object’s address (pointer)


Purchased item information consist of as follows: purchased item number,


invoice number, customer number, product number, product cost and


next purchased item object’s address (pointer)


Sales automation menu can be designed as follows:


Sales
Customer Information
Product Information
Customer Analysis
Product Analysis
After selecting the sales menu, first the last invoice number should be determined, then the purchasing process should be started by entering the customer number.


In product purchase, the product number and quantity should be entered then the product cost should be calculated and the purchase data should be stored. After that the next product purchase process can be passed.


After the purchased items are finished, the shipping fee should be calculated and the purchase process should be completed. The shipping fee should be calculated according to the distance of the customer and the shop.


In the Customer Information section, the information of all customers, customers according to customer type or a single customer should be listed. The choice can be made from the menu.


In the Product Information section, the information of all products, products according to product type or a single product should be listed. The choice can be made from the menu.


In the Customer Analysis section, the products purchased by a customer should be listed and the most preferred product and the least preferred product should be determined and shown.
The total amount of the products purchased by a customer’s invoice should be listed and the maximum invoice amount and the minimum invoice amount should be obtained and shown.
The total amount of the products purchased by all the customers should be listed.
The total shipping costs of the customers should be listed.
In the Product Analysis section, the total purchase amount of the product determined by the user should be listed and shown its quantity .
The total purchase amount of a product type should be listed and shown the most preferred product.
The total purchase amount for all products should be listed.

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here