Arrays and searching help. Great at organizing but bad at implementing.

Hi! My name is David and I’m trying my best to pass my only computer science course.

I am great at getting everything in the order in which to make the program work... but I am terrible at coding and googling questions about coding. This is my last ditch effort. I would truly appreciate any help. Even the smallest amount.

I have a program that involves 2 parallel arrays.

From the first array I must determine if my user input is located within my first array. We will call it the X array.

From this X array... if the user input “string” is contained within it then I should be able to get the corresponding Y array element.

1.) User input

2.) search X array for user input

3.) Determine location of specific element that matches user input

4.) Use that same location in X array to determine what element in Y array to display

5.) Output Y array element that has the same location as the user input in the X array.



Thank you. I appreciate everyone that is willing to help.
Last edited on
Your username is singularly inappropriate. Try the jobs section.
Topic archived. No new replies allowed.