initialize loop condition
while the condition is true
do the body of the loop
update the loop condition
and made it specific for the task at hand.
\a alert (bell)
\b backspace
\f formfeed
\n newline
\r carriage return
\t horizontal tab
\v vertical tab
\\ backslash
\? question mark
\' single quote
\" double quote
\ooo octal number
\xhh hex number