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
297 B

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