test driver in c++
print noise as a percentage