Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~156 People Reached
Favorite Forums
Favorite Tags
c x 2
Member Avatar for dmanjunath

[CODE] #include<stdio.h> #include<conio.h> void main() { int i[15],n,q,j; clrscr(); printf("Enter the value of N:"); scanf("%d",&n);//an unsigned value printf("\nBinary Val of %d=",n); q=n;//initialize quotient to n for(j=0;j<16;j++) i[j]=0;//initialize binary vector to zero //calculate the binary Equivalent j=15;//store the Remainder in reverse order if(q!=0) { while(q!=1) { if(j>=0) i[j]=q%2; j--; q=q/2; } …

Member Avatar for WaltP
0
156