Class diagram three

Posted on 2012-09-10
Last Modified: 2012-10-16
Problem 3: Rio CD store
Rio sells music CDs. They currently have four CD’s for sale.
1.      Classical songs of 70s. Rs 30.
2.      Carnatic songs by Subbulaxmi. Rs 35.
3.      Top 20 2011. Rs 45.
4.      Top 20 2012. Rs 40.
Rio currently offers two kinds of discounts to customers.
1.      Percentage discount.
2.      Buy one get one CD free (which is of lower or same price).
Currently these are the discounts applied to current offerings.
•      Classical songs of 70s – Percentage discount 15% off.
•      Carnatic songs by Subbulaxmi – Percentage discount 10% off.
•      Top 20 2011 – Buy one get one free.
•      Top 20 2012 – Buy one get one free.
Rio wants to add some more CDs for sale soon.
Design a shopping cart and other classes required to implement sales. User pays by cash only.

Please suggest me how to Identify the classes needed, properties and methods needed to implement solution for this problem
Question by:praveen1981
    LVL 40

    Expert Comment

    by:Jacques Bourgeois (James Burger)
    It looks as if you want us to do your homework.

    You will never learn that way.

    Accepted Solution


    Architecure helped me in solving this problem.

    Author Closing Comment

    Architecute of my team guide me in solving this problem

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Normally a window is moved by clicking on the caption bar and dragging. You may want your user to be able to move borderless forms or move a form by clicking anywhere in the form without the limitation to the caption bar. There are many ways to do i…
    It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now