// uses the fucntion add1 defined in a separate file // Michael L. Collard // 10/8/99 #include #include "add1.h" //#include "add1.h" using std::cout; using std::cin; using std::endl; int main() { // get the number cout << "Enter a number: "; int n; cin >> n; // find the number plus 1 const int newn = add1(n); // print out the number plus 1 cout << newn << endl; system("pause"); }