NAME

multi.pl - multiplication table practice


SYNOPSIS

multi.pl [-v|--version] | [-?|-h|--help] | [-d|--difficult] | [integer ]


DESCRIPTION

This program lets (primary school) children practice their times tables.


USAGE

Make the script executable and put it in a directory that is in your path.

Start it by typing its name on the command prompt:

  multi.pl

It will repeatedly generate random integers between 1 and 12 inclusively and ask you to type in their product. If you give a wrong answer, you'll have to try again and succeed to continue.

Giving an empty responce by pressing the enter key alone will terminate the program and print out a summary of success.

You can influence the numbers generated in two ways:

-d|--difficult
The command line switch limits generated numbers to ones listed in an internal array: 4, 6, 7, 8, 9, 12.

integer argument
An integer argument sets the first item of the multiplication; you'll be practicing one particular multiplication table.

The above two methods can be combined to test, e.g, only ``difficult'' numbers in the 5 times table:

  multi.pl -d 5


VERSION HISTORY

  0.0.0, 13 Jan 2005, start of the project
  1.0.0, 13 Jan 2005, first usable version
  1.1.0, 18 Jan 2005, documentation, options added
  1.2.0, 25 Jan 2005, difficult mode takes its numbers from a list


LICENSE

You may distribute this program under the same terms as perl itself.


AUTHOR

Heikki Lehväslaiho, heikki lehvaslaiho gmail com


URL

You can get the latest version of this program at http://lehvaslaiho.homelinux.org/progs/download/multi.pl