This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
Need some quick help. Its for my first year project for university and am having trouble getting started (due partly to being a bad programmer and partly because going for a drink with friends is more appealing). I have been asked to Read in a variable number of portfolios from the text file exampleportfolios.txt. the first integer in this file is the number of portfolios it contains . You should create an array in the main method to store these portfolios (open the text file and varify the the format). any help would be much appreciated for any part of the problem. Thank you
posted 15 years ago
Surely you don't want someone else to do the assignment for you. When I was in class, people gave money to geeks for things like that. But no money changes hands here (even though some of us are geeks), so the best we can do is help you with code that isn't working. What do you have so far?