Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

Hi everyone :) :) I have a question I hope you Guys can help with....

i am taking this computer programming class and my friend told me if I post a queston here I can get some help....

Well I am supposed to make java program that makes a menu with 4 options F Find an existing product, C Create new product D display all records and Q quit..

So anyway We are supposed to make 1 fixed length string with 30 charachter "product name", 1 "int" for "quantity and 1 "double" for "price. all those are supposed to be a fixed 72 bytes??

Ok so the C should let you create a new product name and put it into the .dat file, F lets you do a "linear search" ?? using the product name and D should "print i" the entire file to the console.

I know this is a long on but I just Dont know where to start and if you guys can help i'd be soo happy :)) :)) thanks in advance!!!

share|improve this question
2  
Break the problem down into its component requirements. Try solving each part separately in isolation. Once you have that, you can start bring the individual parts together to form a larger solution. When stuck, check the Java Tutorials – MadProgrammer Apr 18 at 21:54

closed as not a real question by Bohemian, Joce, bmargulies, rgettman, ldav1s Apr 18 at 23:48

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

Browse other questions tagged or ask your own question.