Browse Source

exam exercise printbits

pull/72/head
Augusto 5 years ago committed by Frenchris
parent
commit
8717df9d9a
  1. 18
      subjects/printbits.md

18
subjects/printbits.md

@ -0,0 +1,18 @@
# 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
```go
func PrintBits(octe byte) {
}
```
Example, if you pass 2 to PrintBits, it will print "00000010"
Loading…
Cancel
Save