Advertisement
Nsinecode

H/w by Pasha Prikhodko

Sep 6th, 2021
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. #include <iostream>
  2. #include <bitset>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.     int n;
  9.     std::cout << "Type: ";
  10.     std::cin >> n;
  11.     std::cout << std::bitset<8>(n) << std::endl;
  12.     system("pause");
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement