Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- //conversion between decimal and hexa-decimal
- {
- int num;
- printf("Enter any Hexa-deciamal number : \n");
- scanf(" %x",&num);
- printf("Decimal number: %d",num);
- getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement