Răspuns:
Explicație:
#include <iostream>
using namespace std;
int main ( )
{
int a,b,c;
cout<<"Introduceti 3 numere : "<<endl;
cout<<"a= "; cin>>a;
cout<<"b= "; cin>>b;
cout<<"c= "; cin>>c;
if (a>b && b>c) cout<<c<<" "<<b<<" "<<a<<endl;
if (a>c && c>b) cout<<c<<" "<<b<<" "<<a<<endl;
if (b>a && a>c) cout<<c<<" "<<a<<" "<<b<<endl;
if (b>c && c>a) cout<<a<<" "<<c<<" "<<b<<endl;
if (c>a && a>b) cout<<b<<" "<<a<<" "<<c<<endl;
if (c>b && b>a) cout<<a<<" "<<b<<" "<<c<<endl;
return 0;