To convert hexadecimal to decimal numbers.
#include #include #include #include void main() { char hex[' '], c; int i,len,dec[' '],total; clrscr(); do { printf("Enter hexadecimal number:\t"); gets(hex); len=strlen(hex); ...