All pastes #831105 Raw Edit

Someone

public text v1 · immutable
#831105 ·published 2007-12-24 15:51 UTC
rendered paste body
#include <iostream>
#include <stdlib.h>
 
 using namespace std;
 
 int main (){
int  a,z,i,j; 
       char str[20];
       char key[20];
      cout << " niz za kodirane ? : " << endl;
       cin >> str;
      cout << " kluch s koito shte kodirame niza ? : " << endl;
       cin >> key; 
        
       for ( i=0; str[i]; i++ )
         for ( j=0; key[j]; j++ )
      str[i] += key[j]*abs(30);
      cout << str;
          
     
     
      
     
     
     system("pause");
     return 0;
     
     }