From 9813693baabbee61492ca3b400172d529da1b5e2 Mon Sep 17 00:00:00 2001 From: Faizan Ahamed Date: Sun, 26 Apr 2020 14:56:30 +0530 Subject: [PATCH] Update Binary Search.cpp --- search/Binary Search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/Binary Search.cpp b/search/Binary Search.cpp index 17ce0df5a..8fc28e97b 100644 --- a/search/Binary Search.cpp +++ b/search/Binary Search.cpp @@ -26,6 +26,6 @@ int res = binary_search(a, 0, n - 1, key); if (res != -1) std::cout << key << " found at index " << res << std::endl; else -std::cout << key << " not found" << endl::endl; +std::cout << key << " not found" << std::endl; return 0; }