#include<iostream>
using namespace std;
int a,b,c;
int v = 1;
float z;
char y,n;
int main()
{
while (v = 1)
{
cout<<" HOLY CROSS COLLEGE OF CARIGARA HIGHSCHOOL STUDENT COUNCIL ELECTION \n"<<endl;
cout<<" President: "<<endl;
cout<<" 1. Allyson "<<endl;
cout<<" 2. Lyka "<<endl;
cout<<" 3. Justin "<<endl;
cout<<" Input the number you want to vote."<<endl;
cout<<" To finish voting, type 4"<<endl;
cin>>z;
if (z == 1)
{
a++;
v = v + 1;
}
if (z == 2)
{
b++;
v = v + 1;
}
if (z == 3)
{
c++;
v = v + 1;
}
if (z == 4)
{
cout<< " Thank you for voting. "<<endl;
break;
}
{
cout<<"\nYou voted for: \n"<<a<<" -Allyson \n"<<b<<" -Warren \n" <<c<<" -JMOA \n";
}
cout<<" Do You Want To Continue? ( y or n )<<"<<endl;
cin>>y;
}
while (y=='y');
(n=='n');
}