// test pages 368--369: note that heaps are reorganised other containers #include #include #include #include "random.cpp" int main() { vector v; Random r(0,999);//produces random doubles in 0..999 int n;//for random numbers for(int i=0; i<10; i++) { n=r(); cout << n << endl; v.push_back(n); } cout << "--------------"<