answersLogoWhite

0

#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

17y ago

What else can I help you with?