Question: WAP that uses two functions, code() and decode(),that accepts a string for an argument. the code() function should modify the argument string adding 1 to
WAP that uses two functions, code() and decode(),that accepts a string for an argument. the code() function should modify the argument string adding 1 to all characters in it except the null terminator. the decode() function restores the coded string to its original form. this program should accept a string on the command line, print the string coded, and then print it decoded. if no string is specified on the command line, prompt for none.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
