Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <algorithm>
- using namespace std;
- int main()
- {
- string napis= "Ala ma kota";
- transform(napis.begin(),napis.end(),napis.begin(),::toupper);
- cout<<napis;
- cout<<endl<<endl;
- transform(napis.begin(),napis.end(),napis.begin(),::tolower);
- cout<<napis;
- cout<<endl<<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement