لو سمحتوا يا خبراء برمجة c++ اريد حل لهذه البرامج
1)write aprogram that allows the user to enter the last names of 20 candidates in the local elections held last year; and the number of votes received by each candidate.the program should then output each candidates name,the number of votes received,and the percentage of the total votes.your program should also print the winner of the election.
2)write aprogram that reads 50 students name followed by their test scores and outputs
a)class average
b)number of students above the average and number below
c)highest score and the names of all students with highest score
3)write aprogram that reads aline of text and prints
a)the number of words in the line
b)the number of occurrences of the letter g
c)every other letter in the line
d)the line after duplicating all words that contain q





























