Skip to content

cognits/python-register-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Register Machine

The goal of this project is to create an application that utilises the python dictionaries. You have to make a program that allows the manager of a business to store a “n” article with its respective price and data structure.

Note: before storing an article to the data structure, the user should set the value of “n” article.

After the manager stores the product, the program should let the cashier store a series of articles with their respective name. After storing the products the program should give a price that corresponds to the sum of all the articles and it should calculate the IVA.

uring the calculation if the customer has a frequent client Gold card he should get a 5% discount and if he has a Silver card he should get a 2% discount. (Simulating the sale)

Required concepts

  1.  Variables
  2.  Float numbers
  3.  Integer numbers
  4.  Input/Output
  5.  Print
  6.  If/Else statements
  7.  Loops 
  8.  Try
  9.  Dictionary
  10. Functions
  11. Documentation
  12. Test Code

Running tests

Got to your project directory and execute the nosetests on the terminal. The code should work without a problem.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages