Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 270 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 270 Bytes

This problem was asked Microsoft.

Using a read7() method that returns 7 characters from a file, implement readN(n) which reads n characters.

For example, given a file with the content “Hello world”, three read7() returns “Hello w”, “orld” and then “”.