Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cout<<"1. Tömb beolvasása billentyűzetről"<<endl;
- cout<<"n= ";
- cin>>n;
- cout<<"Az elemek: "<<endl;
- for(int i=0; i<n; i++)
- {
- cout<<"x["<<i<<"]=";
- cin>>x[i];
- }
- cout<<"A tömb adatai"<<endl;
- cout<<"n: "<<n<<endl;
- cout<<"Az elemei: ";
- for(int i=0; i<n; i++)
- {
- cout<<setw(4)<<x[i];
- }
- cout<<endl;
- cin>>get;
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement