posted 22 years ago
I am utterly confused.
The following is a part of my submission for ib -
> //calculate number of complete lines that is possible
(Marilyn deleted code to protect future participants)
- and I got nitpicked as follows -
What happens if the name is just perfectly long enough that you
write exactly 80 characters? ( like "sue", "bill" or "marilyn" )
- that and the fact that when use 'bill' to run the program, it[ the program] inserted an extra line between the lines, made me think that I needed to count the nbr of chars being printed to the screen. This I did and got nitpicked as follows -
Looks like you are depending on something that the operating system
does. The program will be simpler if you don't concern yourself with
squeezing in that last tidbit of optimization. I suggest that instead, you
simply avoid the 80th character and always force a new line at the end of
each line.
- but I did start a new line after every line that was printed -
HElp!!
[This message has been edited by Marilyn deQueiroz (edited April 05, 2001).]