" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
#include <stdlib.h>
int main()
{
char a = 0;
char b = 0;
do
{
b = a;
printf("Wprowadz znak:\n");
scanf("%c",&a);
fflush(stdin);
}
while(( b!='*')||(a!='.'));
return 0;
}
{
char a, x;
do{
x=a;
printf("Wprowadz znak:\n");
scanf("%c",&a);
fflush(stdin);
}while ((x!='*') || (a!='.'));
return 0;
}