Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Example program
- #include <iostream>
- #include <string>
- using namespace std;
- int main()
- {
- char slovo;
- cin>>slovo;
- for(int i=0; i<3; i++)
- {
- slovo+=1;
- if (slovo>=65 && slovo<=90)
- cout<<slovo<<endl;
- else
- {
- slovo=65;
- cout<<slovo<<endl;
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement