the menu and the toolbars
2 4 9
Explanation:
Basically what I thought was the way was, since 2 is first, then its 1, then since 4 is second, it's added second, lastly to get the last oneI added them all and got 9 so that's third.
<span>The Web version will work for this type of need. This version runs at a slightly lesser capability than the full version, but will still perform many of the advanced functions of SQL Server. The processor and RAM utilizations are a bit less than the maximum provided in other versions.</span>
Answer:
Please find the attached file for the complete solution:
Explanation:
Answer:
C++ code for encryption is given below
Explanation:
#include <iostream>
using namespace std;
//functions to encrypt and decrypt
void encrypt(char str[]);
void decrypt(char str[]);
int main(){
char str[200];
bool done = false;
while(!done){
cout << "Enter a string (enter * to stop): ";
cin.getline(str, 200);
if(str[0] == '*' && str[1] == '\0')
done = true;
else{
encrypt(str);
cout << "Encrypted: " << str << endl;
decrypt(str);
cout << "Decrypted: " << str << endl;
}
cout << endl;
}
}
void encrypt(char str[]){
int i = 1;
for(int j = 0; str[j] != '\0'; j++){
str[j] += i;
i++;
if(i == 11)
i = 1;
}
}
void decrypt(char str[]){
int i = 1;
for(int j = 0; str[j] != '\0'; j++){
str[j] -= i;
i++;
if(i == 11)
i = 1;
}
}