Hey guy I am studying and I am trying to solve this hard exercise.
on the above picture I am trying to implement this into a code: however I find it extremely hard. I have tried the following at the moment, don't know if its correct or not, can someone please help me?
just some info that the assignment says: -The attribute product should be an objekt of the class Product
- Shipping adress and billing address should be an object of the class Adress
- User should also be an object of the class User
- CalculateOrder (should calculate order and sum the price for everything
- Calculate vat should add 25 %
- printAllorders() should print all orders
what is mean by "object of the class"

Aucun commentaire:
Enregistrer un commentaire