HELP!

so I was given an input file where they gave me the following information
#ofentries
fruitname:color, length, width, vitamins\n.
I need to run a program that prints out the name and color of the fruit based on the vitamins the user is searching for.
for example if the user inputs vitamin K
the program has to list all the names and colors of the fruit that contain that certain vitamin they inputed.
how would I achieve that?
Last edited on
Last edited on
Topic archived. No new replies allowed.