CPSC 111 Sections 6 and 8
Lab 7 (Tuesday, October 10)
Objectives
* Cover functions and review File I/O if necessary
1. XWin32
2. Questions
3. Review File I/O
4. Example of a function
5. Write a program to compute the factorial of a given integer.
Homework:
* If you don't finish the factorial exercise in class, complete it and turn in the executable by the next lab.
* Below is the syntax of sendlab for the next LAB
For section 6:
sendlab.111.6 7 factorial.cpp
For section 8:
sendlab.111.8 7 factorial.cpp
Programs not in the correct directory or named incorrectly will receive a grade of 0.
Back