Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <bitset>
- using namespace std;
- int main() {
- int n;
- cout << "vuvedi chislo: ";
- cin >> n;
- cout << "Desetichno chislo: " << n << " | Dvoichno chislo: " << bitset<8>(n) << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement