menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Tags
Categories
Ask a Question
Write a recursive function encode that takes two Strings as an input. The first String is the message to be encoded and the second String is the key that will be used to encode the message. The function
Slsy
asked
Oct 7, 2022
297,402
views
30
votes
30
votes
Write a recursive function encode that takes two Strings as an input. The first String is the message
to be encoded and the second String is the key that will be used to encode the message. The function
should check if the key and message are of equal length. If they are not the function must return the
string “Key length mismatch!” Otherwise the function must get the ASCII value of each character in
the key string and check if it is divisible by 2 if it is then the respective character in the message will be
encoded by getting the ASCII value of that character and adding 5. If corresponding key character it is
not divisible by 2 then 3 is added instead. Can someone help please
Computers and Technology
college
Slsy
asked
Oct 7, 2022
by
Slsy
2.5k
points
answer
comment
share this
share
0 Comments
Your comment on this question:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Add comment
Cancel
Your answer
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Add answer
Cancel
1
Answer
12
votes
12
votes
Answer:
85
Step-by-step explanation:
jdjdjdjfjfjcjjcjrtgtggtfg g hi i
Arto
answered
Oct 13, 2022
by
Arto
3.0k
points
ask related question
comment
share this
0 Comments
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Add comment
Cancel
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
1.6m
questions
2.0m
answers
Other Questions
Price of Tether coin right now? Don't answer if u don't know.
How many pokemon games have you all played i've played 14
Each box on a spreadsheet is called a? row column cell box
Genres are useful for many reaseons. What are some explanations you can think of for how genres can be useful to players, game designers, and game publishers? this if for a video game design class worth
What does Al stand for? B. Artificial Ingenuity A. Actual Intelligence C. Artificial Intelligence D. Algorithm Intel
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org