Originally Posted by
dx2731
I dont have anything at the moment because I dont know where to start.
Start with a list of steps you will take to solve the problem.
Originally Posted by
dx2731
So being quite specific, I need an example of the code that will get user input, A specific word such as apple.
We don't write code as much as we offer assistance in you writing your own code. A suggestion was already made for the Scanner class, what did you try with that? Code samples are available through most major search engines, and also with the Java documentation, including links to tutorials right from the pages.
Originally Posted by
dx2731
The the program will search itself for the term apple,
Work on this after you get the user input working
Originally Posted by
dx2731
and bring up its specs (20 grams, 8 left).
Work on this after you are able to search and find a term
Originally Posted by
dx2731
So again, I just need the types of coding I would use, example array, strings etc, and its layout with an explanation.
Post the full text of any error messages you may have with the code when you post your question. Then we can all see what is going on and get you the best help possible.