Ask your own question, for FREE!
Computer Science 6 Online
OpenStudy (anonymous):

Write a program that uses a recursive function to encrypt a message by converting all lowercase characters to the next character (with z transformed to a). You MUST NOT use any form of loop in your program!

OpenStudy (anonymous):

/*done in c++. i have assumed that all the message contains ONLY lowercase characters..if there are other type of characters present, then simply add a filter in the if block*/ void encrypt(char message[], int index) { if (message[index]!=null) { if (message[index]=='z') message[index]='a'; else message[index]++; encrypt(message,index+1); } }

OpenStudy (anonymous):

Thank you for your help!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
15 hours ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
18 hours ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Arizona: does anyone know the percentage rate of 30,000 and 40,000
1 week ago 0 Replies 0 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!