CPS 1 - Spring, 1997 - Ramm 2/24/97 #17
- Announce
- Midterm Exam Wednesday
- Coverage
- Chapters 1, 2, 3, 4 (thru page 125)
- Review Sessions Tuesday, 7:00pm
- Monday, 8:30pm, B101 LSRC (auditorium)
- Tuesday, 7:00pm, B101 LSRC (auditorium)
Chapter 4. Top Down Programming, Subroutine, & a Database Application
- Procedure With Loop; Procedures in Procedures
diamond.pas
- Interactive Example
cylvol.pas
- Passing Arrays as Parameters
- Take care in getting type right
- Types must match
- Rewrite
inout Using Procedures
- Had program with
- Input loop to load array
- Output loop to "print" array
- Now use
- Procedure with loop to load array
- Procedure with loop to "print" array
procio.pas