Ex5.2

Given a (decimal - e.g. 3.72) number that is passed in as a string,
print the binary rep- resentation. If the number can not be represented
accurately in binary, print “ERROR”