Question: Please make a flow chart using the right shapes for this algorithm 1. Take the message and timeslot number as input. 2. Initialize an empty
Please make a flow chart using the right shapes for this algorithm
1. Take the message and timeslot number as input. 2. Initialize an empty string for the encrypted message. 3. Loop through each character in the message. 4. For each character, find its index in the message. 5. Using the timeslot number, find the corresponding number in the timeslot mapping table for the character's index. 6. Using the number from the timeslot mapping table, shift the character by that many places in the alphabet. 7. Check if the chars ASCII is pass the ASCII of 'z' and wrap around back to "a". 8. Add the encrypted character to the encrypted message string. 9. After the loop, return the encrypted message string. 10. Print encrypt_txt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
