Write an R program to use an if statement to check if a number is positive, negative, or zero.
EasyProblem Statement
Write an R program to use an if statement to check if a number is positive, negative, or zero.
Sample Input
Number: -5
Sample Output
The number is negative
Limits
Time: 2s · Memory: 256 MB