...

/

Solution: Working with Files

Solution: Working with Files

See the solution of how to read data from files in addition to STDIN.

We'll cover the following...

Solution explanation

First we check whether the user has provided arguments to read from STDIN or not:

Access this course and 1400+ top-rated courses and projects.