Computers and Technology
Computers and Technology, 01.10.2019 04:30, clara384

Problem 5: encryptstrings (5 points) // use pointer ptr to traverse the 2d character array 'strings' and encrypt each string in 2 step as follows- // 1) reverse the strings. hint: use 'reversestrings()' for this step. // 2) shift the characters forward by the integer value of 'key'. // if the string is "hello" and key = 2, reversing will get you "olleh" and adding key to it will result in "qnnfj". // once the value of 'key' gets larger, you will extend past alphabetical characters and reach non-alphabetical characters. thats ok. // note: do not encrypt the null terminator character. use the null terminator to find the end string. // if you could not implement skip using it in this function. you will receive partial credit.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 13:50, juan3937
The instruction ishl (shift left integer) exists in jvm but not in ijvm. it uses the top two values on the stack, replacing the two with a single value, the result. the sec- ond-from-top word of the stack is the operand to be shifted. its content is shifted left by a value between 0 and 31, inclusive, depending on the value of the 5 least signifi- cant bits of the top word on the stack (the other 27 bits of the top word are ignored). zeros are shifted in from the right for as many bits as the shift count. the opcode for ishl is 120 (0x78).a. what is the arithmetic operation equivalent to shifting left with a count of 2? b. extend the microcode to include this instruction as a part of ijv.
Answers: 1
image
Computers and Technology, 23.06.2019 06:30, darlene93
You are consulting for a beverage distributor who is interested in determining the benefits it could achieve from implementing new information systems. what will you advise as the first step?
Answers: 1
image
Computers and Technology, 23.06.2019 11:00, jaygamer37
What is the name of the sound effect that danny hears
Answers: 1
image
Computers and Technology, 24.06.2019 01:00, cheycheybabygirl01
How can the temperature of a room be raised by 5degreesf?
Answers: 1
Do you know the correct answer?
Problem 5: encryptstrings (5 points) // use pointer ptr to traverse the 2d character array 'strings...

Questions in other subjects:

Konu
Chemistry, 21.03.2021 22:50