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