Write a C program to find the total number of votes in favour of persons ‘A’ and ‘B’. User can enter his/her choices by pressing only A or B. Give a statistics on the votes registered. (Use do while loop)
Sample Input / Output
Cast your vote: A
Continue? Y or N? :Y
Cast your vote: B
Continue? Y or N? :Y
Cast your vote: A
Continue? Y or N? :Y
Cast your vote: A
Continue? Y or N? :N
Total votes registered: 4
Votes won by A: 3
Votes won by B: 1
Answers
Answered by
0
Answer:
fillow
Explanation:
1111
w2we
ertyy
d
d
d
43
r
r6
r
e
3
t
d
s
r
redvkn shan
shan
d
#ß$%-&
shan
sha
rr
rr
ss
s
ss
e
e
Shadan
what
Similar questions
Computer Science,
2 months ago
English,
2 months ago
Social Sciences,
2 months ago
Political Science,
4 months ago
Math,
4 months ago
French,
10 months ago
Math,
10 months ago