Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include "bin_func.hpp"
- using namespace std;
- int decimal;
- char run='y';
- while (run = 'y')
- {
- int main()
- {
- cout << "Please input the deicmal you want converted to binary: ";
- cin >> decimal;
- binary(int decimal);
- cout << "Would you like to run again(y/n)? ";
- cin >> run;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement