I am WAITING
- Raju maths teacher gave him a task of identifying the number name. If the number is greater than 0 then he should utter to the teacher as "I am waiting". If the number is less than 0 then he should utter the word as "I am not waiting".
Help him by completing his task.
CODING ARENA
#include <stdio.h>
int main()
{
int a;
scanf("%d",&a);
if(a>0)
printf("I am waiting");
else if(a<0)
printf("I am Not waiting");
return 0;
}
Test Case 1
Input (stdin)15
Expected Output
I am waiting
Test Case 2
Input (stdin)-12
Expected Output
I am Not waiting
No comments:
Post a Comment