program.c

This commit is contained in:
Patrik Seman 2023-03-16 15:45:51 +01:00
parent 7ba9b3ef0b
commit c666c7f6ee

View File

@ -10,7 +10,7 @@ int main(){
float z;
char znamienko;
while(fgets(vstup, 100, stdin)==NULL || *vstup=='\n'){
while(fgets(vstup, 100, stdin)!=NULL || *vstup!='\n'){
if(sscanf(vstup, "%f %c %f = %f", &x, znamienko ,&y ,&z)!=4){
printf("CHYBA\n");
continue;