Caesar cipher
Decryption
#include <iostream>
#include <string>
#include <iterator>
using namespace std;
int main()
{
string a;
string v;
int k = 0;
const int b =1;
cin >> a;
for(int j =0;j <25; j++)
{
++k;
for(int i =0; i<a.length(); i++)
{
v= ((a[i]+ k +65)%26 +65);
cout <<v;
}
cout << "\n";
}
}