Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions