

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: Intro Prog&Prob Solving; Subject: Engineering Computer Science; University: University of California - Davis; Term: Unknown 2002;
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Version of April 18, 2002 4:59 pm Page 1 of 2
Due Date: Monday, May 13, 2002, at 11:59PM Points : 100
a. Change the program so the user can name one or more files on the command line, and the program will take input from those files. If no files arenamed, the program should read from the standard input. b. Add a command-line option –r that causes the words to be printed in reverse order. ( Hint : use recursion.)
Version of April 18, 2002 4:59 pm Page 2 of 2