I am working on a project to make a program for counting no. Of votes, candidates, votes for each candidate and winner of the elections.
But when I am making different functions for each part an error is shown when executed together. But when I execute it individually, it works. And also I have to create a text file which will contain all these data. How to do this?