You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

297 B

printbits

Instructions

Write a function that takes a byte, and prints it in binary value without a newline at the end.

Expected function

func PrintBits(octe byte) {

}

Usage

Example of output:

If 2 is passed to the function PrintBits, it will print "00000010".