Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cctype>
- #include <ctype.h>
- #include <cstring>
- using namespace std;
- int main()
- {
- // for(int j=-3;j<33;j++){
- char napis[]="DOXQRIRGB MFBOTPWX LPLYX ALPQXGB MIRPFHX";
- for(int i=0;i<40;i++){
- int n=3;
- bool cos=isspace(napis[i]);
- if(!cos){
- if(napis[i]>87){
- int f=(90-napis[i]);
- n-=f;
- //if(napis[i]=90){n=0;}
- napis[i]=64+n;
- }else {napis[i]+=n;}
- }
- cout<<napis[i];
- }
- cout<<endl;
- // }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement