Answer
There are two kinds of situations where formatted input is a good idea. First,
if you need to skip over certain characters (as we'll see in the next section),
you need to use formatted input. Second, if you're reading the contents of a
file that was written by another program, it's probably nicely formatted
already. (Computers, unlike humans, are good at lining things up nicely.) Of
course, you don't know how to read from files yet!
Return to lesson.
Hamlet Project
hamlet@cs.utah.edu