diff options
Fixed exercise numbering in homework1.cpp
1 files changed, 4 insertions, 4 deletions
| -rw-r--r-- | Year 1/Programming introduction/Homeworks/homework1.cpp | 8 |
diff --git a/Year 1/Programming introduction/Homeworks/homework1.cpp b/Year 1/Programming introduction/Homeworks/homework1.cpp index 29bb23d..829d82f 100644 --- a/Year 1/Programming introduction/Homeworks/homework1.cpp +++ b/Year 1/Programming introduction/Homeworks/homework1.cpp @@ -175,7 +175,7 @@ void ex2() } /* - * Exercise 4 + * Exercise 3 */ bool isInteresting(int n) @@ -208,7 +208,7 @@ int sumOfInterestingNumsBetween(int a, int b) return sum; } -void ex4() +void ex3() { int a, b; cin >> a >> b; @@ -217,7 +217,7 @@ void ex4() } /* - * Exercise 5 + * Exercise 4 */ const int NUMBER_LENGTH = 4, N = 10; @@ -320,7 +320,7 @@ void playBullsAndCows() cout << "Не позна в определения брой ходове!" << endl; } -void ex5() +void ex4() { playBullsAndCows(); } |
