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.
 
 
 
 
 
 
Chris 9f8edb5dd2 Typos correction and grammar improvements 3 years ago
..
README.md

README.md

printbits

Instructions

Write a program that takes a number as argument, and prints it in binary value without a newline at the end.

  • If the the argument is not a number, the program should print 00000000.

Usage :

$ go run . 1
00000001$
$ go run . 192
11000000$
$ go run . a
00000000$
$ go run . 1 1
$ go run .
$