Giter VIP home page Giter VIP logo

retail-market-'s Introduction

Retail-Market-

Project Description: Mr Adamu has a retail market where he sells daily basic food items. The table below shows the items, available quantity and prices. a. As a python developer you were told to develop a python program that keeps in check stock details, pricing and others. Let your program have the following basic functionality (note: you can add your own):

  1. An inbuilt function for admin to change the price of any of the items.
  2. An inbuilt function for admins to add more items.
  3. An inbuilt function to compute goods purchased per customer and displays a receipt for printing. a. The function must be able to add 20% VAT for customers buying less than 5 items. b. 30% VAT for customers buying more than 10 items. c. N800 bonus goods for customers purchasing more than 10 items with the least amount being N100.
  4. An inbuilt function that updates stock after an item has been purchased.
  5. An inbuilt function that takes record of total gain per day. b. Write a test program, that communicates with the buyer, taking note of the following: i. Displays the available items. ii. Their corresponding price. iii. Receives items customers want to buy, and their corresponding quantities. iv. Computes their total payment. v. Finally display to the customers, a receipt (with the item purchased, quantity, corresponding prices and total price). Also display discounts (if any).

s/n item Available Quantity Price per quantity(N) 1 Sugar 131 50 2 Bread (sliced) 311 200 3 Bread (unsliced) 229 150 4 Egg 545 50 5 Three crown (tin) 201 150 6 Peak milk (tin) 230 120 7 Peak milk (sachet) 791 50 8 Bournvita (sachet) 611 50 9 Milo (tin) 367 500 10 Peak milk (Large Sachet) 889 700 11 Milo (Large Sachet) 934 700 12 Bournvita (Large Sachet) 758 100 13 Custard (small sachet) 383 200 14 Corn flakes (small sachet) 647 150 15 Golden morn (small sachet) 121 100 16 Detergent (small Wawu) 198 120 17 Detergent (small Aerial) 354 115 18 Detergent (Big Wawu) 323 200 19 Detergent (Big Aerial) 222 250 20 Corn flakes (big sachet) 341 750 21 Golden morn (Large sachet) 458 650 22 Sprite (small) 134 80 23 Pepsi (small) 674 80 24 Fanta (small) 757 80 25 Lacasera (small) 127 80 26 Sprite (big) 956 150 27 Pepsi (big) 374 150 28 Fanta (big) 267 150 29 Lacasera (big) 786 150 30 Coke (big) 546 150

retail-market-'s People

Contributors

ardor090 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.