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