Ruby program to take a number as input and calculate the square of that number - Posts - OneCompiler