Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  rathish
Language: C/C++
Code:
#include<stdio.h>
#include<conio.h>
void main()
{
int n,i,k;
scanf("%d",&n);
for(i=31;i>=0;i--)
{
k=n>>i;
if(k&1)
printf("1");
else
printf("0");
}
getch();
}
          
          
          
Comments: