Created
August 8, 2016 16:02
-
-
Save dynamitechetan/782297d131d1abc4ea97905d0322c182 to your computer and use it in GitHub Desktop.
This is for my freinds!.. Sparse Number Program in C
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main() | |
{ | |
int x,y,z,a,b,c,d; | |
scanf("%d",&x); | |
y=0; | |
if (x & (x>>1)) | |
y=1; | |
if(y!=1) | |
printf("TRUE"); | |
else | |
printf("FALSE"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment