Lab 2
The purpose of this lab is to make sure that you can edit, compile and run
a program on cslab41.
When you finish this lab you should:
- Downloaded a program from the web page.
- Modified the program.
- Compiled the program.
- Added code and comments to the program.
- Removed any syntax errors created.
- Run the program.
In addition you should understand somewhat what you are doing and how to
obtain further help.
Please do the following:
- Log into cslab41.
- Download this program
- Compile and run the program.
- Modify the program
- Chang the name to be your name
- Add comments as described here
- Add a line that prints "This is lab 2"
- Make sure that
- you have removed all of the syntax errors,
- That your program compiles and runs
- And that the output is correct.
- When you have all of this working, email this program to me.