Skip to content

Commit 07d4c0e

Browse files
refactor: improved code readability
1 parent 4a43db6 commit 07d4c0e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

exercises/verify.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ void printOutput(bool present);
1414

1515
bool isPresent(int* Arr, const size_t& size, const int& n){
1616
for(size_t i = 0; i < size ; i++){
17-
if(Arr[i] == n){ return true; } // FOUND!!
17+
if(Arr[i] == n){
18+
return true;// FOUND!!
19+
}
1820
}
1921
return false;
2022
}

0 commit comments

Comments
 (0)