; ENCRYPT
Documents
Resources
Learning Center
Upload
Plans & pricing Sign in
Sign Out
Your Federal Quarterly Tax Payments are due April 15th Get Help Now >>

ENCRYPT

VIEWS: 1 PAGES: 1

  • pg 1
									#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);

}

								
To top