Browse Source

feat:Add IsNegative subject

pull/1198/head
zainabdnaya 2 years ago
parent
commit
b58a4ed105
  1. 12
      subjects/str_isnegative/README.md

12
subjects/str_isnegative/README.md

@ -1,15 +1,15 @@
# IS-Negative
### Instruction
### Instructions
Write a function named `Str_isNegative()` that defines if a number (You should check if it's a number) is negative or positive.
Your function print P if the number is positive
Your function print F if the number is negative
For the number is zero print 0.
Any input other than number should print !
Your program should always print ('\n')at the end of the output.
- Your function print P if the number is positive
- Your function print F if the number is negative
- For the number 0 is zero print 0.
- Any input other than number should print !
- Your function should always print ('\n')at the end of the output.
### Expected function

Loading…
Cancel
Save