Let's say there is a menu (basically a list) and I am trying to make a search bar for that menu. Whatever the user types in (such as "sidedish" or "chicken burger"), the program has to print whatever items they have on the menu that has those keywords in it. How do I go about doing this using split and the for loop?
split and for loop
Collapse
X
-
Tags: None
-
I don't want to program but I'm forced to so what choice do I have and I'm asking for help on it, I'm not asking someone to do it for me hence not giving the entire assignment away. I believe I explain this pretty clearly. Either you understand it or don't. If you don't, don't even bother.Comment
-
Asking basic questions and saying "How do I go about doing this" amounts to asking for it to be done for you.Originally posted by tomatomato...I'm not asking someone to do it for me hence not giving the entire assignment away...
How about you tell our experts what your specific problems are, rather than a general how-do-I-do-it question. Include some relevant code (not your whole program, just the parts relevant to the question); something that you've tried, and isn't working. Then the experts can help you figure out what's wrong with it.
I'll also ask both of you to remain civil on this forum. Remember that this is a forum for and full of professionals.
MODERATORComment
Comment