#include<stdio.h>
int main(){
int hex, dec;
printf("\nEnter the value in hexadecimal :");
scanf("%x", &hex);
printf("%d", hex);
return 0;
}
int main(){
int hex, dec;
printf("\nEnter the value in hexadecimal :");
scanf("%x", &hex);
printf("%d", hex);
return 0;
}
No comments:
Post a Comment