Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include<iostream>
  2. #include<bitset>
  3. using namespace std;
  4. int main()
  5. {
  6. unsigned z, l, a;
  7. cout<<"zi=";
  8. cin>>z;
  9. cout<<"luna=";
  10. cin>>l;
  11. cout<<"an=";
  12. cin>>a;
  13. z=z<<4;
  14. z=z|l;
  15. z=z<<7;
  16. z=z|a;
  17. cout<<z;
  18.  
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement