# include & ltstdio.h & gt
Master ()
{
char binOut[ 17];
short int i,j; /* 16 bit integer, short integer */
scanf("%d ",& ampI);
for(j = 15; j & gt=0; j -)
{
If (I&(1<; & ltj))
binOut[ 15-j]= ' 1 ';
other
binOut[ 15-j]= ' 0 ';
}
binOut[ 16]= 0;
printf("DEC(%d)=BIN(%s)\n ",I,binOut);
}