" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
using namespace std;
int maina() {
cout << "Podaj wyraz: ";
string a; cin >> a;
cout << "Ostatnia litera: " << a[a.size() - 1]
<< "\nPierwsza litera: " << a[0] << endl;
}