Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Exercise: read several files

Given several files where each file contains two numbers separated by a comma, print out the result of dividing the first number by the second number. e.g.

go run read_several_files.go a.txt b.txt c.txt d.txt

should work.

4,2
4,0
21,3