SHARE
TWEET

Untitled

a guest Jun 16th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int* npointer = new int[nNumbers];
  2. insert_Array(npointer, nNumbers);
  3. sort_Array(npointer, nNumbers);
  4. cout << " The number you desired is " << nNumbers << endl;
  5.  
  6. cout << " The numbers in the array from  high to low are ";
  7. for (int i = 0; i < nNumbers; ++i)
  8. {
  9.     cout << *(npointer + nNumbers - i) << " ";
  10. }
  11.  
  12. cout << endl;
  13. delete [] npointer;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top