Website Summary Files Commits Branches @commit @diff @stats
path: root / Utils / SI_K1 / task2.cpp
diff options
context:
space:
mode:
1 files changed, 2 insertions, 2 deletions
-rw-r--r--Utils/SI_K1/task2.cpp4
diff --git a/Utils/SI_K1/task2.cpp b/Utils/SI_K1/task2.cpp
index 7d0230f..328a1fb 100644
--- a/Utils/SI_K1/task2.cpp
+++ b/Utils/SI_K1/task2.cpp
@@ -47,8 +47,8 @@ unsigned task2b(char* text)
{
if (isDigit(*textIter))
{
- (accumulatedNumber *= 10) += convertToInt(*textIter);
- textIter++;
+ (accumulatedNumber *= 10) += convertToInt(*textIter);
+ textIter++;
}
else
{