Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 332 Bytes

5.04.md

File metadata and controls

9 lines (7 loc) · 332 Bytes

Hands on Exercises - Level 2 #4

Write a program that

  • assigns an int to a variable
  • prints that int in decimal, binary, and hex
  • shifts the bits of that int over 1 position to the left, and assigns that to a variable
  • prints that variable in decimal, binary, and hex

answer