RyanLD
RyanLD
Ryan Daguman wrote:
I've also did a user-defined method to search for a match in the array but it was unsuccessful:
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
RyanLD
RyanLD
RyanLD
RyanLD
RyanLD
RyanLD
Hi Ryan,
In your updated code, can you explain the logic behind your for loop beginning at line 53? What are you expecting the user to input for the produceCode?
a) Is the user supposed to type in the index value of the element in produceCode? For example, the user enters 1 and the program calculates 5.50 * weight?
b) Is the user supposed to type in the value of 5.50 for the produceCode and your program will determine the index is 1?
RyanLD
RyanLD
Don't get me started about those stupid light bulbs. |