Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Programming introduction / Solutions Sem. 03 / 11. Spiral_Numbers_2.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--Year 1/Programming introduction/Solutions Sem. 03/11. Spiral_Numbers_2.cpp2
diff --git a/Year 1/Programming introduction/Solutions Sem. 03/11. Spiral_Numbers_2.cpp b/Year 1/Programming introduction/Solutions Sem. 03/11. Spiral_Numbers_2.cpp
index b7337a4..5dc5d5b 100644
--- a/Year 1/Programming introduction/Solutions Sem. 03/11. Spiral_Numbers_2.cpp
+++ b/Year 1/Programming introduction/Solutions Sem. 03/11. Spiral_Numbers_2.cpp
@@ -11,7 +11,7 @@ int main()
{
int modifier = 1;
- // When going from right to left, make previous be the number at the end of the line + 1, and then decrement
+ // When going from right to left, previous = number at the end of the line + 1, and make further number operations decrement
if (row % 2 == 1)
{
previous += n + 1;