Exercise 1-16. Print lenght of arbitrary input lines