diff options
Added Solutions
3 files changed, 8 insertions, 0 deletions
| -rw-r--r-- | pract_SI/Pract. 04/Solutions/task3 - isNegative().cpp | 4 | ||||
| -rw-r--r-- | pract_SI/Pract. 04/Solutions/task3 - isPositive().cpp (renamed from pract_SI/Pract. 04/Solutions/task3.cpp) | 0 | ||||
| -rw-r--r-- | pract_SI/Pract. 04/Solutions/task6.cpp | 4 |
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 diff --git a/pract_SI/Pract. 04/Solutions/task3.cpp b/pract_SI/Pract. 04/Solutions/task3 - isPositive().cpp index 937b833..937b833 100644 --- a/pract_SI/Pract. 04/Solutions/task3.cpp +++ b/pract_SI/Pract. 04/Solutions/task3 - isPositive().cpp diff --git a/pract_SI/Pract. 04/Solutions/task6.cpp b/pract_SI/Pract. 04/Solutions/task6.cpp new file mode 100644 index 0000000..cbca3de --- /dev/null +++ b/pract_SI/Pract. 04/Solutions/task6.cpp @@ -0,0 +1,4 @@ +bool isCapitalLetter(char S) +{ + return (S >= 'A' && S <= 'Z'); +}
\ No newline at end of file |
