int main(void)
{
printf(" Type :");
char i= getchar();
while (i != 'A' && i != 'B' && i != 'C')
{
printf("\nYou choose incorrect type, please repeat...\nEnter r type :");
i= getchar();
}
}
printf("\nYou choose incorrect type, %c please repeat...\nEnter r type :", i);