Handled case of when calculator doesn't handle numbers correctly

This commit is contained in:
2026-04-02 00:51:42 +03:00
parent 78ada5fbd4
commit 8dda608d07
+4
View File
@@ -80,6 +80,10 @@ Command resolveCommand()
{ {
operation = c; operation = c;
} }
else
{
operation = '+';
}
} }
return {shouldQuit, operation, validation_result.next_arg(), shouldPrint}; return {shouldQuit, operation, validation_result.next_arg(), shouldPrint};