Website Summary Files Commits Branches @commit @diff @stats
path: root / pract_SI / Pract. 04 / Solutions / task3.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 3 deletions
-rw-r--r--pract_SI/Pract. 04/Solutions/task3.cpp4
diff --git a/pract_SI/Pract. 04/Solutions/task3.cpp b/pract_SI/Pract. 04/Solutions/task3.cpp
index bc85d3a..60622e2 100644
--- a/pract_SI/Pract. 04/Solutions/task3.cpp
+++ b/pract_SI/Pract. 04/Solutions/task3.cpp
@@ -1,8 +1,6 @@
-bool isPositive(const int num)
+bool isPositive(int num)
{
if (num <= 0)
- {
return false;
- }
return true;
} \ No newline at end of file