1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

classes assignment...so hard..plz help me..

Discussion in 'C++' started by hazel reen, Oct 10, 2010.

  1. hazel reen

    hazel reen New Member

    Joined:
    Oct 10, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Consider the above figure. You can determine the position of a point using the point’s coordinate. Using a class, you need to write a complete C++ program to determine which part a point belongs to based on these :
    i. the black area shows that the point is in 1st quadrant
    ii. the blue area shows that the point is in 2nd quadrant
    iii. the red area shows that the point is in 3rd quadrant and
    iv. the green area shows that the point is in 4th quadrant.
    If the point is in any part of the y axis, (see the y point), then point is said to be at the x axis. And if the point is at any part of the x axis (see the x point), then it is said to be y axis.
    Your program should also provide a constructor function to enables an object to be initializes when it is declared.
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    You missed the attachment.

    Also have the topic in the right forum and I have moved it for you as of now.
     
  3. hazel reen

    hazel reen New Member

    Joined:
    Oct 10, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    sorry..i've tried to attach the document..but it shows invalid file...for sure, my file is doc..
     
  4. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    You can only attach images or compressed files.

    Zip it and attach
     
  5. hazel reen

    hazel reen New Member

    Joined:
    Oct 10, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    here is the attachment about my task...hope u can me help me...thank you so much sir...
     
  6. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    Now this looks simple assignment and what is the coding you have done and where you are stuck?
     
  7. hazel reen

    hazel reen New Member

    Joined:
    Oct 10, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    thanx for ur time...about the question that im asking u juz now, im already got their answer..and now i have another question..
     
  8. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    And what is your other question?
     
  9. hazel reen

    hazel reen New Member

    Joined:
    Oct 10, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Write a complete C++ program which implement two different classes, savingAccount and currentAccount. Both classes should have an attribute of account number and current balance. The program should be able to :
    a. open an account for both account type
    b. deposit money to the account
    c. withdraw money from the account
    d. display the current balance from the account
    e. transfer money from the saving account to the current account
    The program should also consider a user friendly interface and error message display when a user enters inappropriate input.
     
  10. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    This also looks simple and have you managed to get this going and where are you stuck?
     
  11. go4expert

    go4expert Moderator

    Joined:
    Aug 3, 2004
    Messages:
    306
    Likes Received:
    9
    Trophy Points:
    0
    Remember we will not do your homework because it is your homework but yes we can help if you show the effort of doing it.
     

Share This Page