It is Object-Oriented Programming(c++).
I have already done part2a and 2b, I need some ideas for the rest,it is really grateful if you could give me some ideas about that. THANKS!!
The following is the project:
b. Identify the objects and classes to be used in the program.
c. Define the attributes for each class.
d. Define the behaviours for each class.
e. Define the relationships between classes.
f. Apply creativity and thinking skills to design and write a program. The
program must have user-friendly interface with clear instructions and rigorous
The program will be best implemented as a multi-file program.
Comments should be added to explain the purpose of each section of the source code.
2. Problem statement
A Bridge Club needs a voting system to elect its committee members. Each club’s
member will vote for three nominees in order of preference. A first-place vote is worth 5
points, a second-place vote is worth 3 points, and a third-place vote is worth 1 point. The
system will compute the points and display the standing of the nominees. The nominee
who won the most points in the election will be appointed the President of the club, the
other two runners up will be appointed the committee members.
Design the necessary classes and member functions to achieve the following tasks :
a. Allow user to enter member’s particulars such as membership number, name,
address and handphone number.
b. Allow user to enter all nominees’ particulars such as membership number, and
name. Each nominee will be assigned a nominee number. This number is then
used for the voting process.
c. Display the name and nominee number of all nominees and clear instructions on
the way to vote. It will prompt the member to enter membership number and the
three nominees’ number in order of preference. It should check that the voter is a
member of the club with a valid membership number.
d. Compute the standing of the voting process. A first-place vote is worth 5 points, a
second-place vote is worth 3 points and a third-place vote is worth 1 point. Invalid
vote will be discarded.
e. Display a table showing the nominee’s number, name and total points won as
shown in the table below after the voting process.
f. Announce the name of the elected President and the two committee members at
the end of the voting process.
1 James Tan 75
2 Benny Koh 250
3 Steven Lim 288
4 David Tay 68
5 Mary Tan 150