Write an encryption and decryption program using string functions which will display the substitution method of corresponding characters.
* A
$ E
/ I
+ O
- U
Please fix the following input errors: