Viewing CSV Files II

Agility Kata „Viewing CSV Files II“

Extend the CSV viewer application in the following way:

  1. Each data record should be preceded by a record number.
  2. Show which page is displayed out of how many in total below the table.
  3. Let the user jump to a page by entering its number.

The display should look like this:

No.|Name |Age|City    |
---+-----+---+--------+ 
 1.|Peter|42 |New York|
 2.|Paul |57 |London  |
 3.|Mary |35 |Munich  |
Page 1 of 3
F)irst page, P)revious page, N)ext page, L)ast page, J)ump to page, E)xit