Let’s practice what we’ve learned so far in the following exercises. The solutions to these exercises will be provided in the next lesson.
Problem 1
The byLine.go
utility uses ReadString('\n')
to read the input file. Modify the code to use Scanner
for reading.
Get hands-on with 1400+ tech skills courses.