answersLogoWhite

0


Best Answer

#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(); }

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you convert decimal to hexadecimal?
Write your answer...
Submit
Still have questions?
magnify glass
imp