//
// Example 4.5. Program to read a number less than
// 10 and determine if the number is 7
//
#include <iostream.h>
int main(void)
{
int num;
cout << "Enter a positive integer under 10: ";
cin >> num;
if (num == 7)
cout << "I knew you'd select 7!\n";
cout << "Thank you for your cooperation.\n";
return 0;
}