Lab 2 (Tuesday, September 5)
Objectives:
1. Forwarding mail
· http://dcit.clemson.edu/utils/mf.cgi (jondoe@clemson.edu -> jondoe@cs.clemson.edu)
· http://www.cs.clemson.edu/~help/faq/email_forward.html#forward (jondoe@cs.clemson.edu -> jondoe@clemson.edu)
Note: Some email accounts will take much longer to
receive mail from a forwarded account due to their unreliability. If possible, avoid using a free internet
email account as a forwarding address (i.e. hotmail, yahoo, etc.).
2. Telnet and FTP (for those that would like to work at home)
3. Operators (+, -, *, /) with precedence and Data Types (string, int, short, long, double, float, char)
4. Exercise: Area of Circle and Circumference of Circle
5. Exercise: Read/Output Name
6. Exercise: Modify your circle program by calculating the area with the pow function (Hint: You will need to include another library (Try typing "man pow" at the prompt for help). If you get that to work, try defining your own function and pass in the radius, then return the radius squared.
Homework:
1. You do not have to submit anything for this lab.
Solution: Solution to the circle program