#include <iostream>
using namespace std;
void tobinary(int integer)
{
if(integer >= 2) {
tobinary(integer/2);
}
cout << integer%2;
}
int main()
{
tobinary(15);
return 0;
}
#include <iostream>
using namespace std;
void tobinary(int integer)
{
if(integer >= 2) {
tobinary(integer/2);
}
cout << integer%2;
}
int main()
{
tobinary(15);
return 0;
}