fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. string slowo;
  7. string result = "ideone.com/";
  8. while (cin >> slowo) {
  9. if (slowo[0] <= 90)
  10. slowo[0] += 32;
  11. result += slowo[0];
  12. }
  13.  
  14. cout << result;
  15. return 0;
  16. }
  17.  
  18.  
Success #stdin #stdout 0s 4352KB
stdin
Adam anna roman franek Kasia
stdout
ideone.com/aarfk