Question: fill in the code on line 34 for the decryption of a shirt cipher. c++ a shift* cipher #include #include #include 5 void check(int argc,

fill in the code on line 34 for the decryption of a shirt cipher.
c++  fill in the code on line 34 for the decryption of
a shift* cipher

#include #include #include 5 void check(int argc, char* argv[]). if (arge 1=2) 9 puts("usage: $ ./decrypt keychar"); exit(1); 2 --if (! isalpha(argv[1][0])) 3- { ---puts("key character must be alphabetical"); 5 +-exit(1); 16 :) 17 if (argv[1][0] != toupper(argv[1][@])) 18. - puts("key character must be upper case"); 20 exit(1); 21.-) 22 ) 23 24 int main(int arge, chart argv[]) 26 check(argc, argy); 27 chark- argv[1][@]; 28 printf("key - %d ",k); 29 FILE' input - stdin; 30 stdout; 31 32 25.1 FILE" output char c; while ((c-getc(input)) I - EOF) 33 - 1 *YOUR CODE HERE! putcic, output); 35

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!