What kind of test I should do to know What is the problem in my code because it's the only issue I have every other condition is working good.

  • Can't really help you with this question it's so vague. try different values do 3 candidates and 5 voters have 3 voters vote for 1 then the 2 get 1 votes each the program then should output the one with 3 votes – Ojou Nii May 4 at 13:25
  • Thank you very much, your comment was so useful it helped me. I am not good at testing :). Thank you. – Mohamed Fakhr May 5 at 21:45

You must log in to answer this question.

Browse other questions tagged .