E. Chu wrote: In regards to your first question, each letter should be shifted a number of spaces determined by the ASCII value of the corresponding code letter. For example, if 'a' was shifted by 'f' (6 spaces), the resulting value should be 'g'. Please note that this problem assumes as shift of 'a' to be 1, not 0.
E. Chu wrote: We haven't learned about methods yet. Our professor - by his discretion - started introducing procedural programming these first three weeks of the semester. He reasoned that starting with object-oriented programming and use of methods was too harsh an introduction.
What a bad idea, starting something new before you finished the first thing.
E. Chu wrote: . . . I've begun working on my Vigenere Cipher as well, . . .
Please understand that it's hard to illustrate the situation sufficiently without illustration.
E. Chu wrote:I want to avoid confusion as much as possible. In my opinion, there is no appreciable benefit to contextualizing the information presented in the image. At worst, it is ignored. At best, it compliments what I'm trying to present my problem to be.
E. Chu wrote:I am in a first-semester CS course with a professor that hasn't begun teaching methods, objects or object-oriented programming. I honestly have no idea what Map<Character or Cipher> mean. There was little chance I could have done the things that experienced programmers have been doing for months or years given my exposure.
E. Chu wrote:@Fred Rosenberger
Thank you for your suggestion. I've already worked through many similar cases in the context of my program.
E. Chu wrote: In regards to Ulf Dittmer's preferences, please realize that he is a single person. I would not take him to represent "we". As I implied, different people can choose to or choose not to look at the images I've posted. It's as simple as that.