cv3
This commit is contained in:
parent
c52a1879d9
commit
005b98db7d
@ -19,6 +19,7 @@ int main(){
|
|||||||
fgets(vstup, STACK_SIZE, stdin);
|
fgets(vstup, STACK_SIZE, stdin);
|
||||||
vstup[strcspn(vstup, "\n")] = 0;
|
vstup[strcspn(vstup, "\n")] = 0;
|
||||||
if(strlen(vstup) == 0){
|
if(strlen(vstup) == 0){
|
||||||
|
printf("no input");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(vstup[0] == '-' || vstup[0] == '+' || vstup[0] == '*' || vstup[0] == '/'){
|
if(vstup[0] == '-' || vstup[0] == '+' || vstup[0] == '*' || vstup[0] == '/'){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user