Part 1: OOP Design Principles Design a vending machine using OOP principles in PHP. The vending machine should sell choc

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Part 1: OOP Design Principles Design a vending machine using OOP principles in PHP. The vending machine should sell choc

Post by answerhappygod »

Part 1: OOP Design Principles Design a vending machine using OOPprinciples in PHP.
The vending machine should sell chocolate bars for $1.25, popfor $1.50 and chips for $1.75. The machine accepts 1 dollar and 5,10, and 25 cent coins. A basic form for the app would be: buttonsfor ordering and buttons for choosing a coin to deposit. Thinkcarefully about what features a vending machine should have.
You will be graded on how well your project is designed (anduses Object Oriented PHP). You will not be graded on how good itlooks. A hint: What happens if the user makes a mistake and enterstoo much money? Think about design problems like this when youstart creating the app.
i want answer in PHP language
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply