fork download
  1. #include<iostream>
  2. using namespace std;
  3.  
  4. int a, b, c;
  5.  
  6. int main()
  7. {
  8. cin >> a >> b >> c;
  9.  
  10. cout << a << b << c << " " <<endl;
  11. cout << "a " << a << endl;
  12. cout << "b " << b << endl;
  13. cout << "c " << c << endl;
  14. }
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
000 
a 0
b 0
c 0