#include <iostream> using namespace std; int main() { char a; char b; char c; a = 'x'; b = 'y'; c = 'z'; cout << a<<b<<c<< " " << a<<c<<b << " " << b<<a<<c << " " << b<<c<<a << " " << c<<a<<b << " " << c<<b<<a; cout << endl; return 0; }
please help 1 2.1 3.2: Outputting all combinations. ACTIVITY Output all combinations of character variables a,...
write solution to the program above in C please and thank
you.
Output all combinations of character variables a, b, and c. If a x,b-y, and c z, then the output is Your code will be tested in three different programs, with a, b, c assigned with Χ. 'y', 'z', then with #. 'S. %, then with T, 23 1 #include 3 int main(void) { char a char b; char c; 4. 7 scanf(" scanf(" scanf(" %c %c %c ",...