#include #include "position1.h" #include "mydata1.h" // testdata.cpp // 1.31.01 // G. Volger // Program to test the MyData class // You must add mydata.cpp to your project int main () { Position p(3,3); MyData x("bob", p); cout << "Test program for the MyData class\n" << endl; cout << "Initialized data is: " << x << " and priority is (3, 3)" << endl; MyData y; cout << "\nEnter a data value" << endl; cin >> y; cout << "\nThe value you entered was " << y << "\n\n" << endl; if (x < y) cout << x << " is less than " << y << endl; else cout << x << " is not less than " << y << endl; if (x <= y) cout << x << " is less than or equal to " << y << endl; else cout << x << " greater than " << y << endl; return 0; }