Skip to content

kamikandeva19/OOP-homework-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OOP-homework-1

The C# application represents a market store which provides its clients with 3 types of discount cards. With each of them you can calculate the discount of the current purchase. The structure contains a package of cards where there are three options: bronze, silver and gold. Then we have a package of cardholders, including the class CardHolder, the abstract class Card - superclass of all cards: card type, cardholder, initial discount rate, turnover for the previous month; abstract method currentRate - calculates current discount rate depending on the turnover; and the three classes – BronzeCard, SilverCard, GoldCard. Next, we have the package of paydesk, where we have class PayDesk, class Invoice and class Main. The final result of the application is it displays to the user all the information above.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%