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

Make the following modifications to Shift Encription I 1. use getline to read 1

ID: 3923165 • Letter: M

Question

Make the following modifications to Shift Encription I

1. use getline to read 1 line at a time from the file

2. read the shift amount from the user. the user. the shift amount should be a number between -25 and 25. a negative shift amount shifts to the left. a shift amount of 0 does nothing. use the modulus operator to keep the shift amount between -25 and 25. if the shift amount is negative add 26 to it. this is how you convert all shift lefts to shift rights.

3. write encripted characters to the encripted file one character at a time.

ShiftEncription 1 code below:

Explanation / Answer

#include #include #include using namespace std; const char end_of_line = ' '; int main() { cout > input_file_name; ifstream finp(input_file_name.c_str()); if (!finp.good()) { cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote