I want to make a program that can convert cgs units into mks units and vice-versa.I am able to convert the magnitude but I don't know how to print the units (such as kg-1m3s-2 for the units of G).I tried it in Ruby,Python,C++ but in all those languages, I faced the same problem.Plz Help.