Write a function that outputs a string that shows pagination information for a website. The string must show the current page, lowest page index, highest page index, with some "padding" around the current page. Example output: "1 ... 4 5 (6) 7 8 ... 30" for a site with 30 pages where the user is on page 6 "1 (2) 3 4 ... 30" for a site with 30 pages where the user is on page 2
Sigiloso
If you are listing a question, please list the full question and not just a part of it. Give the possible input values and output values expected. If you cannot do that, then don't list the question at all. This is just basic courtesy.