K&R Exercises

Exercise 1-8: Count blanks, tabs, and newlines

Write a program to count blanks, tabs, and newlines.

Print the three counts on one line, separated by spaces: blanks, then tabs, then newlines.

Test Cases

· space→ tab↵ newline

Submissions

No submissions yet