Website Summary Files Commits Branches @commit @diff @stats
path: root / Utils / SI_K1 / task2.cpp
diff options
context:
space:
mode:
Commit4feb4c14540206a166117f8ad14bdda133acfb86 (patch)
Author
 Angel Dimitriev <achi_d@abv.bg>
2021-12-05 03:55:02 -0500
Committer
 GitHub <noreply@github.com>
2021-12-05 03:55:02 -0500
Filesf745e069fc80217a290181c140182f2076bfb172 /Utils/SI_K1/task2.cpp
Introduction_to_programming_FMI-4feb4c14540206a166117f8ad14bdda133acfb86.tar
Introduction_to_programming_FMI-4feb4c14540206a166117f8ad14bdda133acfb86.tar.gz
Introduction_to_programming_FMI-4feb4c14540206a166117f8ad14bdda133acfb86.zip
Parentf54328df5aadfcd1701d17494237c48b87121047 (diff)
Update task2.cpp
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
{