Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 750 Bytes

README.md

File metadata and controls

25 lines (13 loc) · 750 Bytes

probable-funicular

FYI:: Programmers call this the open/closed principle. This principle states that classes "should be open for extension, but closed for modification".

Assignment Summary:

Learning Outcomes

•Can use and understand delegation

•Can understand protocols

•Can understand polymorphism

The Goal

•To create a command line app called Payments that models an on-line payment module

•The app will generate a random dollar value that simulates an online purchase and will display this to the user

•The user will be asked to select from 3 payment methods: Paypal, Stripe or Amazon

•Once they select a payment method the app processes the amount using the selected method

•We will use delegation to accomplish this