hi eveRyone,
I just want to have your tips for my code..
#include <stdio.h>
main()
{
hexa = 16;
printf("enter decimal number: ");
scanf("%d",&deci);
for (ctr = 1; ctr<=deci; ctr++)
quotient = deci / hexa;
printf("Equivalent in Hexadecimal is %d",quotient);
getche();
}
I want to print out the numbers 10-16 in letters like this, 10=A,11=B,12=C,13=D,14=E,15=F,16=G..but i dont know how to make it coz im new with C..