#include
#include
int main ()
{
int k;
char s[36];
printf ("Enter a number: ");
scanf ("%d",&k);
itoa (k,s,10);
printf ("decimal: %s\n", s);
itoa (k, s, 18);
printf ("hexadecimal: %s\n", s);
itoa (k, s, 2);
printf ("binary: %s\n", s);
return 0;
}