Q .1 )An election is contested by five candidates.
The Candidates are numbered 1 to 5 & 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
Q.2) Write a function that creates a vector of user-given
size M using new operator.