✅ Case 3 of my code.

So im trying to create a program within Visual studios in c# as part of an assignment.

The program is supposed to create and present a String vector;

1) tells you to enter 5 elements
2) lists all 5 elements you entered
3) lets you search within these indexes, incase it's one of the 5 elements you entered.
If it finds it it tells gives you a message i wrote where it says "Success, the value is present in index #", If not it should tell you that the value you entered doesnt exist.
4) Quits the program.

Now the program works flawlessly; Except that when you use 3) it doesn't prompt the "The value you entered doesn't exist.
Was this page helpful?