Răspuns:
#include <iostream>
using namespace std;
int main()
{
int a;
int b;
int c;
cout<<"a = ";
cin>>a;
cout<<"b = ";
cin>>b;
cout<<"c = ";
cin>>c;
cout<< a << b << c << endl;
cout<< a << c << b << endl;
cout<< b << a << c << endl;
cout<< b << c << a << endl;
cout<< c << b << a << endl;
cout<< c << a << b << endl;
cout<< "In total sunt 6";
}
Sper ca te-am ajutat!