Positive or Negative number checker - V2
Input : Any number
Output : Positive or negative number
Logic : else_condition is used only if the if condition is wrong. if one of the if condition is true it doesn't check the rest of if conditions.
Check out the first version of same program : Positive or Negative number checker - V1
Output : Positive or negative number
Logic : else_condition is used only if the if condition is wrong. if one of the if condition is true it doesn't check the rest of if conditions.
Check out the first version of same program : Positive or Negative number checker - V1

Comments
Post a Comment