Skip to content

Conversation

@melinaurruchua
Copy link
Owner

Topic 1:
Practice:

1 Create a ShoppingCart where a user can buy different items and then decide how to pay them:

 a   by Credit Card: where a Name and a Credit Number is required.

 b   by Paypal: where an email and a password is needed.

 c   Cash: no information is required.

2 Add the following discount depending on the payment type

 a   10% by Credit Card.

 b   The cheapest item is for free when the user pay by Paypal.

 c   90% of the most expensive item is free if the user pays by Cash.

3 Create a counter to provide unique sequential numbers and use it to set an identification to each payment transaction.

4 Add functionality to display information about the list of items. The item should be displayed as:
Item Name ....... $ price

5 Add an offer that includes other individual items or other offers. Take into account that when an offer is displayed, it should say:

    Offer Name ....... $ price
        Item Name ...... $ price

6 Add a mailist List where the market manager is notified when:

 a   A new item/offer is added

 b   A price is changed

c    A new transaction was made

7 Audio Player: Modelate an application for listening music. You can play, stop and pause tracks.

Key Points:

1, 2, 3, 4, 5, 6, 7

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning: Use the {} to declare the if statements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants