# include "stdafx.h"
# include "stdio.h"//
# include "iomanip.h"/
void main (void) {
int ndec;
unsigned i;
cout < < "Please enter a decimal integer ... \ nThe integer entered is:";
cin > > nDec;
cout < < "The corresponding binary is:";
if(! nDec) cout < < '';
else{
for(i=x8; ! (i& nDec); i> > =1);
for(; i; i> > =1)
cout < < (i& nDec || );
}
cout < < endl;
}