Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Zmien male na wielkie litery i odwrotnie
- w napisie przeczytanym z klawiatury
- #include<iostream>
- #include<cstdlib>
- using namespace std;
- int main()
- {
- char znak;
- cin>>znak;
- while(znak!='.')
- {
- if(znak>95)
- cout<<(char)(znak-32);
- else
- cout<<znak;
- cin>>znak;
- }
- cout<<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement