Skip to content

folaakingbe/bamazon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bamazon

Customer

image

The first question asked is "What is the ID of the product you want to buy?" The input should be an integer value.

The second question asked is "How many units would you like to buy?" The input should be an integer value.

Manager

image

The manager has four options:

  • View Products for Sale
  • View Low Inventory
  • Add to Inventory
  • Add New Product

Choose one by typing the number that represents each product

View Products for Sale

image

This option will print all of the products that are for sale.

View Low Inventory

image

This option will print all of the products that have less than 5 items in stock.

Add to Inventory

image

This option will increase the quantity of the specified product.

The inputs are the ID of the product that is getting more items and the number of items being added. Both should be integer values.

Add New Product

image

This option will add a new product to the database.

The inputs are the product's name, the department it is located in, the price, and the quantity. The product and department names should be strings and the price and quantity should be integers (no decimals for now).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published