I want to do program that's output should formatted as below:

1 * 1 = 1    2 * 1 = 2     3 * 1 = 3  -----------  10 * 1 = 10
1 * 2 = 2    2 * 2 = 4     3 * 2 = 6  -----------  10 * 2 = 20
-------------------------------------------------------------
-------------------------------------------------------------
--------------------------------------------------------------

1 * 10 = 10  2 * 10 = 20    3 * 10 = 30 ---------  10 * 10 = 100

I am not getting output like above.

could anyone help me on this?

Thank you.

-- 
Posted via http://www.ruby-forum.com/.