#include #include // time() #include // srand() #include "Q1.h" using namespace std; int main() { srand(time(0)); Q1 q; q.print("q"); q.X(); q.print("X"); q.Z(); q.print("Z"); q.H(); q.print("H"); cout << "m = " << q.M() << endl; q.print("M"); }