I wrote a \'simple\' (it took me 30 minutes) program that converts decimal number to binary. I am SURE that there\'s a lot simpler way so can you show me? Here\'s the code:<
#include using namespace std; int main() { int a,b; cin>>a; for(int i=31;i>=0;i--) { b=(a>>i)&1; cout<