Website Summary Files Commits Branches @commit @diff @stats
path: root / pract_SI / Pract. 04 / Solutions / task3 - isPositive().cpp
diff options
context:
space:
mode:
1 files changed, 4 insertions, 0 deletions
-rw-r--r--pract_SI/Pract. 04/Solutions/task3 - isPositive().cpp4
diff --git a/pract_SI/Pract. 04/Solutions/task3 - isPositive().cpp b/pract_SI/Pract. 04/Solutions/task3 - isPositive().cpp
new file mode 100644
index 0000000..937b833
--- /dev/null
+++ b/pract_SI/Pract. 04/Solutions/task3 - isPositive().cpp
@@ -0,0 +1,4 @@
+bool isPositive(int num)
+{
+ return (num > 0);
+} \ No newline at end of file