Solution to
Try It Yourself: Console I/O

  1. solution
  2. solution