Handled case of when calculator doesn't handle numbers correctly
This commit is contained in:
@@ -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