/DiscountCards

Prime Holding Summer Internship 2019

Primary LanguageJava

DiscountCards

The command java edu/shapkofil/Main in /out/production/DiscountCards directory will run the programme. Starting the programme ask the user for a the his/her name and then takes him/her to the main menu in it’s TUI. The user has 4 options to choose from:

  • Change card Allowes the user to choose one of the three cards. The cards store the discount calculation method and owners name.
  • Enter purchase data Lets the user type in the turnover for the lat mouth and the current purchase cost
  • Get purchase details Outputs the wanted information about the discount rate, the discount and the total cost of the purchase.
  • Exit (self-explanatory)

For the actual build I’ve provided an architecture uml diagram both in here (the repo’s markdown file) and the main directory of this piece of software.

Architecture:

architecture