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.
 
 
 
 
 
 

290 B

printbits

Instructions

Write a function that takes a byte, and prints it in binary WITHOUT A NEWLINE AT THE END.

The function must have the next signature.

Expected function


func PrintBits(octe byte) {

}

Example, if you pass 2 to PrintBits, it will print "00000010"