Name: ___________________________ Honor Code Acknowledgment: _________________________ Random Quiz # 7 CPS 08, Spring 1995 February 10, 1995 Problem 1: Guard/Sentinel (3 points) Write code that allows the user to enter integer values until a 0 is entered. The code should print the average of all the numbers entered. Problem 2: Jim Lang (2 points) The code below #include "date.h" Date d; cout << d.LastDay() << endl; prints a number. What number will it print if you run it this week?