Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include<algorithm>
- using namespace std;
- int numero[2],ent[2];
- int main(){
- cin>>ent[0];
- cin>>ent[1];
- cin>>ent[2];
- numero[0]=ent[0];
- numero[1]=ent[1];
- numero[2]=ent[2];
- sort(numero,numero+3);
- cout<<numero[0]<<endl<<numero[1]<<endl<<numero[2]<<endl;
- cout<<endl<<ent[0]<<endl<<ent[1]<<endl<<ent[2]<<endl;
- return 0;
- }
Add Comment
Please, Sign In to add comment