Handled case of when calculator doesn't handle numbers correctly
This commit is contained in:
1 parent
78ada5fbd4
commit
8dda608d07
1 file changed
+4
@@ -80,6 +80,10 @@ Command resolveCommand()
|
||||
{
|
||||
operation = c;
|
||||
}
|
||||
else
|
||||
{
|
||||
operation = '+';
|
||||
}
|
||||
}
|
||||
|
||||
return {shouldQuit, operation, validation_result.next_arg(), shouldPrint};
|
||||
|
||||
Reference in new issue
Block a user