Tee program complete

It does what it's supposed to, but the solution seemed way too simple. Was I supposed to do something more elaborate with stdin/stdout and/or pipes?