diff options
Update task1.cpp
1 files changed, 3 insertions, 3 deletions
| -rw-r--r-- | Sem. 08/task1.cpp | 6 |
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); +} |
