This code for finding the binary representation of a number works if I type a number of 3 digits but if i type a number like 3427 , it doesn't ...
I use Dev-++ , I have tried to debug and apparently the problem is on the line after while , perhaps the ze[u] .
using namespace std;
cout<<"write an integer : ";
cout<<" The last digit is the first digit\n of the binary representation of "<<x<<endl<<endl;
cout<<" Now , the right order : "<<endl;