Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

lets say there is a sentence like this \"helloworld\" is saved in an arry called

ID: 3615941 • Letter: L

Question

lets say there is a sentence like this "helloworld" is saved in an arry called original the unlocking charcter is "W" .. the code searches for the "w" when it finds the "w" it saves it and what is after it in a new array of charcters called first .. however before it finds the "w" it should save the letters in an array called second .. at last it refills the array original with array first and when it is done it fills it with array second ...

# include

# include

using

int

{

string un_lock;

string secret;

string the_secret;

cout<<

cin>>rings;

cout<<

cin>>un_lock;

cout<<

cin>>secret;

cout<<

cin>>string_in[i][j];

//this is the crazy part

{

{

second[j][i]=string_in [j][i];

first[j][z]=string_in[j][i++];

}

}

{

string_in[j][i]=first[j][i];

string_in[j][i++]=second[p][z];

}

{

sec_char=secret[i];

sec_pos=i;

}

Explanation / Answer

please rate - thanks explanation of fixing, hope it helps made the functions just to make it easier # include # include using namespace std; void input(char[][26],int); void rotate(char[][26],char,int); void print(char[][26],int); int main() { string un_lock; string secret; int rings; char string_in[1000][26];//[rings][letters] char second[1000][26]; char first[1000][26]; char sec_char; int sec_pos; int the_col; string the_secret; cout