• Create program that simulate a process of voting system by getting name, ssn, and age form user, the system check the age of the user if it’s found this age under eighteen, new object created using the children class, those people whom classifying as children are not allowed to vote for alleviation, other wise person can vote, there was three candidates person can just vote for one of them, the system has special behavior which counting the number of votes for each candidate. o Depending on the last point user entering the data until he decide to leave ( for example if he press zero, he logged out form the system) o The system output expected to be like this: USERNAME: MOHAMMED ALI SSN: 983413 AGE: 13 STATUS: SORRY YOU CANN’T VOTE ENTER NEW USER DETAILS: _____________________________ USERNAME: ALI MOHAMMED SSN: 985633 AGE: 23 STATUS: YOU CAN VOTE: THE CANDIDATES LIST: 1- AHMED HASSAN 2- OMER ABDALLAH 3- SARA TAHA PLEASE CHOOSE ONE OF THE PERVOUIS LIST: 1 THANKS ENTER NEW USER DETAILS: _____________________________ • after user press zero the output should be like o THE NUMBER OF VOTES FOR THE FIRST CANDIDATE : 10 o THE NUMBER OF VOTES FOR THE FIRST CANDIDATE : 20 o THE NUMBER OF VOTES FOR THE FIRST CANDIDATE : 30 • use interface concept to implement this program
©