#include<stdio.h> #include<conio.h> void main() { int n; clrscr(); printf("Enter Decimal Number: "); scanf("%d",&n); printf("Hexadecimal value is: %x",n); getch(); }
Chat with our AI personalities
That depends what you want to "solve" for - in other words, what the question is. For example, whether you want to:* Convert from hexadecimal to decimal* Convert from decimal to hexadecimal* Count in hexadecimal* Add hexadecimal numbers* etc.
Hexadecimal -> BB895Cdecimal -> 12.290.396octal -> 56.704.534
NA
As compared to converting decimal into what other base! It is no more difficult to convert decimal into base 8 than decimal into binary or Hex.
If that's hexadecimal, it's 43981 base 10.