Q.1 An election is contested by five candidates.The Candidates are numbered 1 to 5 %26amp; the voting is done by marking the candidates number on the ballot paper.Write a prog to read the ballots and count the votes cast for each candidate using an array variable count.In case a number read is outside the range 1 to 5,the ballot should be considered as a 'spoilt ballots' and the prog should also count the number of spoilt ballots.
Q.2 Write a function that creates a vector of user-given size M using new operator.
Want help in c++ program?
May be you can search at project assignment help website like http://askexpert.info/
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment