Write a program that takes a filename as a parameter and opens the file for reading

a) Write a program that takes a filename as a parameter and opens the file for reading. Read every character of the file and display only the letters and punctuation to the screen. (Ignore all non-printing characters.) Then close the file and exit.


Leave a Reply