SHARE
TWEET

Untitled

a guest Sep 18th, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Jeffrey Wu
  2. #include <iostream>
  3. #include <cstdlib>
  4. using namespace std;
  5. int main()
  6. {
  7.     int t, DataU[10000], DataS[10000];
  8.  
  9.     cout<<"How many data items do you want to have ?";
  10.     cin>>t;
  11.     for(int i=0; i<t; i++)
  12.     {
  13.         cout<<(rand() % 100)<<" ";
  14.     }
  15.     cout<<"\nDataU: ";
  16.     for(int i=0;i<t;i++)
  17.     {
  18.         cout<<DataU[i]<<" ";   
  19.     }
  20. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top