Due: 8/22/2001 - Class Time
Write a C program that expects an arbitrary number of int arguments. If the integers are referred to as i, j and k the program should display the ith, jth and kth environment variables/values. Your output should be neat and understandable.
You may use whatever compiler you want but do not use cin or cout
=================================================================
You will use the 'script' command to capture all necessary information for
handin. You do that by starting the script command by typing
1) script myHandin (or any filename that you like)
next type
2) cat pgm1.c (or whatever you named you source code file)
next run your program
3) a.out 4 12 5 900 0 17
next exit the script processor
4) exit
All of your output is now stored in myHandin. You may review it by typing
more myHandin
The actual hardcopy for handin should be produced by entering
a2ps myHandin | lpr -P yourPrinterPreference
a2ps stands for "ascii to postscript. Make sure that the printer that you
send the output to is capable of printing postscript - most on campus are.