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.

20 lines
299 B

6 years ago
## printbits
6 years ago
### Instructions
6 years ago
Write a function that takes a byte, and prints it in binary value **without a newline at the end**.
6 years ago
### Expected function
```go
func PrintBits(octe byte) {
}
```
6 years ago
### Usage
Example of output:
If 2 is passed to the function `PrintBits`, it will print "00000010".