Sponsored Links


Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Object Oriented Programming (CS304) Assignment No.03 solution fall 2010

  1. #1
    Administrator Xpert's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    6,233

    Icon7 Object Oriented Programming (CS304) Assignment No.03 solution fall 2010

    Sponsored Links1


    Deadline


    Your assignment must be uploaded before or on 4tht January, 2011


    Rules for Making


    It should be clear that your assignment will not get any credit if:

    o The assignment is submitted after due date
    o The assignment is copied

    Objectives


    This assignment has been designed so that you would be able to implement the concept of composition in OOP. After the completion of this assignment you should have a good grasp on how to

    o Inheritance
    o Public & private inheritance
    o Using basic constructs of OOP in a program

    Assignment
    You have to write a C++ Program in which you will have to write a class ‘Pakistani Citizens’ which has five data members “name, age, CNIC No, province, and domicile” and two data functions getter and setter for each data member e.g setAge() getAge() etc.

    Write a second class ‘VotersList’ which inherited the ‘PakistaniCitizens’ class and has “implemented in term of” relationship to pakistaniCitizens.

    Sponsored Links

    The ‘VotersList’ class restrict the functionality of setAge() function by override the setAge() function of ‘PakistaniCitizens’ class and check the condition :

    If age is greater than 18 then print “Eligible for vote cast”.

    If object of VotersList class is initialized with the age less than 18, then it prints a message

    Age is less than 18” and sets the value of age to default.

  2. #2
    plzzz need soltn...

  3. #3
    Administrator Xpert's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    6,233
    Dear fellow wait for it or start discussion. it will be updated soon.

  4. #4
    plz need solution

  5. #5
    Senior Member sanam's Avatar
    Join Date
    May 2010
    Location
    sky
    Posts
    217

    Icon7

    ok no one is going to giove you solution
    [COLOR="Red"][B]Allah Help those Who help them Selves[/B][/COLOR]:smileys44:

  6. #6
    Junior Member
    Join Date
    Dec 2010
    Posts
    1
    AOA
    I have cs304 assignment solution
    thaks
    today is last day

  7. #7
    Administrator Xpert's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    6,233
    ws, this solution is uploaded in mcs assignment solution forum. check there.

  8. #8
    A.A Bhai link hi send ker doo solution ka

  9. #9
    Agar solution hai to send plz

  10. #10
    Administrator Xpert's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    6,233
    ws
    how are you?
    it will uploaded soon

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Object Oriented Programming (CS304) Assignment No.4 solution 12/01/2011
    By Xpert in forum Virtual University Announcenments
    Replies: 0
    Last Post: 01-13-2011, 06:48 PM
  2. Replies: 0
    Last Post: 11-09-2010, 04:11 PM
  3. CS304 - Object Oriented Programming new quiz 8th Nov, fall 2010
    By Xpert in forum Virtual University Announcenments
    Replies: 0
    Last Post: 11-07-2010, 12:26 AM
  4. CS304 Object Oriented Programming 5 Assignment 19 July 2010
    By viki in forum Assignments & Solutions
    Replies: 0
    Last Post: 07-19-2010, 03:12 PM
  5. Replies: 0
    Last Post: 05-07-2010, 01:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft | Jobs