Docstoc

ENCRYPT

Document Sample
ENCRYPT Powered By Docstoc
					#include <iostream>

using namespace std;

int main()
{
int code0, code1, code2, code3;
int sum1, sum2, sum3, sum4;

cout<<"\n\nEnter   your First Number:\t";
cin>>code0;
cout<<"\n\nEnter   your Second Number:\t";
cin>>code1;
cout<<"\n\nEnter   your Third Number:\t";
cin>>code2;
cout<<"\n\nEnter   your Fourth Number:\t";
cin>>code3;

sum1=code2+7;
sum2=code3+7;
sum3=code0+7;
sum4=code1+7;

cout<<"\nYour Code is:\t";
cout<<sum1%10;
cout<<sum2%10;
cout<<sum3%10;
cout<<sum4%10;

string case0 ("case2");
string case1 ("case3");

swap (case0, case1);

}

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:1
posted:11/30/2010
language:English
pages:1