Using place value in the same fashion you would as if the number was in base 10, C94 is equal to (12 x (16^2))+(9 x (16^1))+(4 x (16^0)). This is equal to 3220.
Chat with our AI personalities
Convert to a decimal number then multiply by 100 ie 20/90=.222222 times it by 100 =22.22 % (to 2 dec. places)
int num, bin[50], dec, i=1, j; printf("Enter the decimal number : "); scanf("%d",&dec); num = dec; while(num!=0) { bin[i++] = num%2; num = num/2; } printf("\nBinary equivalent of %d : ",dec); for(j=i-1;j>0;j--) { printf("%d",bin[j]); } getch(); }
The person above answered by converting to decimal. Since our normal algebraic rules are designed for base-10 (ever try dividing in hex?) I suggest using the Calc program in Windows. Start the program, and in View, change the mode to Scientific. You will see one box called "Dec" selected. That is decimal notation. There is Hex for hexadecimal and Bin for binary. Click Bin, type in 1010, click +, type 1101, and press enter. FYI, if you now click Dec you will instantly convert the answer (10111) to decimal (23.)
On Converting between Arabic and Roman Numbers ,we get : dec in roman numerals is : XII
Dec 4 1960 was a Sunday.