Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Readme

Run this code with the following commands:

  1.  irb
  2.  require "relative path to file"
  3.  TableGenerator.new.formatted_table

Expected_output

  0    1    2    3    4    5    6    7    8    9    10   
  __   __   __   __   __   __   __   __   __   __   __   
  2    2    4    6    8    10   12   14   16   18   20   
  3    3    6    9    12   15   18   21   24   27   30   
  5    5    10   15   20   25   30   35   40   45   50   
  7    7    14   21   28   35   42   49   56   63   70   
  11   11   22   33   44   55   66   77   88   99   110  
  13   13   26   39   52   65   78   91   104  117  130  
  17   17   34   51   68   85   102  119  136  153  170  
  19   19   38   57   76   95   114  133  152  171  190  
  23   23   46   69   92   115  138  161  184  207  230  
  29   29   58   87   116  145  174  203  232  261  290