From b916bd80447078dd776343e11b8b2cd116392a4f Mon Sep 17 00:00:00 2001 From: Angel Dimitriev Date: Thu, 10 Dec 2020 10:47:34 -0500 Subject: Update task1.cpp --- Sem. 08/task1.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Sem. 08/task1.cpp') diff --git a/Sem. 08/task1.cpp b/Sem. 08/task1.cpp index f993c7e..b8c5943 100644 --- a/Sem. 08/task1.cpp +++ b/Sem. 08/task1.cpp @@ -3,7 +3,7 @@ using namespace std; const int SIZE = 32; -int Convert(bool arr[SIZE]) +int convert(bool arr[SIZE]) { int result = 0; for (int i = 31; i >= 0; i--) @@ -13,5 +13,5 @@ int Convert(bool arr[SIZE]) int main() { bool arr[SIZE] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1 }; - cout << Convert(arr); -} \ No newline at end of file + cout << convert(arr); +} -- cgit v1.3.1-23-gd82d