Question
Need help making a void function with two characters in C++ that would allow me to run an encryption. The requirements are to user for
Need help making a void function with two characters in C++ that would allow me to run an encryption.
The requirements are to user for an input string, call your encription algorithm, and then print out the encrypted result to the user. A C string will be scrambled by alternating characters from the end and then the beginning of an array.
Example: Hello 351
Result: H3e5l1l ol
Is anyone able to help me get started on creating this function? One requirement is to only use the library
here's another example
Index 0 1 2 3 4 5 Data H ELLO 10 Data | o |HL|EL| 10 | Index 0 1 2 3 4 5 Index 0 1 2 3 4 5 Data H ELLO 10 Data | o |HL|EL| 10 | Index 0 1 2 3 4 5Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started