CPSC 111 Sections 6 and 8
Lab 6 (Tuesday, October 3)
Objectives
* Cover everything up to functions
1. Quizzes
2. Review while loop
3. Do loop and For loop
* postfix, prefix notation
4. And/Or Truth tables
5. File I/O
6. Programs that do not compile or turned in late...
7. Exercise: Guessing game
* Name the file for the program guess.cpp
Homework:
* Read chapter 7 over functions for lecture on Thursday
* Complete the exercise and turn in executable
* Below is the syntax of sendlab for the next LAB
For section 6:
sendlab.111.6 6 guess.cpp
For section 8:
sendlab.111.8 6 guess.cpp
* Below is the syntax of handin for the next PROGRAM (Oct 11 at midnight):
For section 6:
handin.111.6 3 stats.cpp scores.dat
For section 8:
handin.111.8 3 stats.cpp scores.dat
Programs not in the correct directory or named incorrectly will receive a grade of 0.