|
The above question is a bit typo, it should be the following statement:
Design a program cuts, which reads data from standard input and obtains the data defined by the first parameter n and the second parameter m, n and m are integers, that is, extract the nth from the input string All characters from the character to the m-th character (including these two characters). E.g:
$ cuts 11 14
this is a test of cuts program (typing)
test (display results)
$ |
|