11b = 3d
Chat with our AI personalities
this isn't the fact that the binary number 11 will have decimal equivalent 11... instead it have decimal number 1011 for decimal equivalant 11.here is the alogorithms for converting the decimal number to binary equivalent...!!!#include#includevoid main(){ int i,n,j,b[100];clrscr();printf("Enter a Number:");scanf("%d",&n);i=0;while(n>0){b[i]=n%2;n=n/2;i++;}printf("\n\nBinary Equivalent:");j=i-1;for(i=j;j>=0;j--)printf("%d",b[j]);getch();}using this algorithms... the binary equivalent of any number is taken out...!!! enjoy... have any query... email at :- "devilllcreature@yahoo.com" thank you....!!!
Put a suffix 2 as in 102.
In binary this would be written as 1011. This is because in binary (from right to left) the digits in this number mean: (1 * 20) + (1 * 21) + (0 * 22) + (1 * 23). This, of course, is equal to (1 * 1) + (1 * 2) + (0 * 4) + (1 * 8), which equals 1 + 2 + 0 + 8, which equals 11 (in decimal).
11 and 7 (if you mean two separate 4-digit binary numbers) or 227 as one 8-digit binary number.
1000 base 10 = 11 1110 1000 base 2