#include<stdio.h>
void main()
{
int vote,tuanzhang_vote,invalidvote;
tuanzhang_vote=0,invalidvote=0;
printf("Who is the most excellent one in Tangzhu's eyes?\n");
scanf("%d",&vote);
while(vote!=-1)
{
switch(vote)
{
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:tuanzhang_vote++;break;
case 0:invalidvote++;break;
}
printf("Please enter the next number:\n");
scanf("%d",&vote);
}
printf("The vote of tuanzhang is %d.\n",tuanzhang_vote);
printf("Let's tell tuanzhang the excellent news!\n");
}