Skip to content

C project, arranging groceries into bags with respect to size and category

Notifications You must be signed in to change notification settings

Gal-Greenberg/Supermarket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supermarket

Product: num, type, volume, price Bag: type, volume, maxVolume, productCount, productArr

The system automatically packs the products at checkout according to the following rules:

  1. Only one product type can be packed in one bag
  2. The volume of all products in the bag will not exceed the maximum volume
  3. Each product will enter a bag that already has products of its kind and has space, if no such bag is found it will open a new bag

About

C project, arranging groceries into bags with respect to size and category

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages