diff options
1 files changed, 8 insertions, 0 deletions
| -rw-r--r-- | pract_SI/Pract. 04/Solutions/task3.cpp | 8 |
diff --git a/pract_SI/Pract. 04/Solutions/task3.cpp b/pract_SI/Pract. 04/Solutions/task3.cpp new file mode 100644 index 0000000..bc85d3a --- /dev/null +++ b/pract_SI/Pract. 04/Solutions/task3.cpp @@ -0,0 +1,8 @@ +bool isPositive(const int num) +{ + if (num <= 0) + { + return false; + } + return true; +}
\ No newline at end of file |
