Skip to content

Instantly share code, notes, and snippets.

@parvezmrobin
Last active February 23, 2016 12:37
Show Gist options
  • Save parvezmrobin/40ec509f67dd30d6fb77 to your computer and use it in GitHub Desktop.
Save parvezmrobin/40ec509f67dd30d6fb77 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(){
int n;
scanf("%d", &n);
if(n<0){
printf("%d is negative.", n);
}
else{
printf("%d is positive.", n);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment