I'm having trouble understanding these exercises wording.

Posted by KasHKoW on Programmers See other posts from Programmers or by KasHKoW
Published on 2011-03-17T05:17:28Z Indexed on 2011/03/17 8:17 UTC
Read the original article Hit count: 249

Filed under:
|

Exercise 1-20. Write a program detab that replaces tabs in the input with the proper number of blanks to space to the next tab stop. Assume a fixed set of tab stops, say every n columns. Should n be a variable or a symbolic parameter?

Exercise 1-21. Write a program entab that replaces strings of blanks by the minimum number of tabs and blanks to achieve the same spacing. Use the same tab stops as for detab. When either a tab or a single blank would suffice to reach a tab stop, which should be given preference?

could you paraphrase these for me. thanks

© Programmers or respective owner

Related posts about programming

Related posts about c