Question: Now copy the code in part 2 and modify it to make the function replace all the alphabetic characters in the plain _ text with

Now copy the code in part 2 and modify it to make the function replace all the alphabetic
characters in the plain_text with m. Use the functions created in part 1 to ask the user for the
plain_text to encrypt, which is Sunday! Funyay! Enter the shift value key as 4. The encoded
phrase encoded_text will be: Mmmmmm! Mmmmmm!
Page 4 of 4
Hints:
Use is isalpha() function to only convert characters and keep ! intact
Use isupper() and islower() functions to use M or m in the replaced text

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!