Курсовая работа: Застосування BORLAND C BUILDER для створення ігрових програм
{
printf("\n\n %d. %s --- ", i+1, name[i]);
ret = question();
if(flag == 1)
{
printf("\n\n %s You took %f seconds", name[i], ret);
take = flag;
if(ret < temp)
{
temp = ret;
val = i;
}
}
}
if(take == 0)
{
printf("\n\n \a NOBODY QUALIFIES FOR THE FINAL ");
getch();
}
else if(take == 1)
{
printf(" \n\n Congratulations %s You Shall Play Because You Took %f seconds ", name[val], temp);
printf(" \n\n\n %s , Let's PLAY WHO'LL BE A MILLIONAIRE ........PLEASE PRESS ANY KEY ", name[val] );
getch();
for(i = 0; i < 15; i++)
{
printf("\n\n Here's Your %d Question %s --> ", i+1, name[val]);
printf("\n");
question();