- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
5 Posted Topics
Luckly I already have(ish). I found this lying around with some other things I was messing with. Obviously this is not code that you ought to use (it is needlessly redundant in many aspects). It seems you do not know where to starty (you posted no code) anyway hope this …
So like iamthwee said work on your formatting, I didnt even read your code. But anyway, I am a bit lazy so heres the code it ought to work as long as your file names are a b and c. If any dosent make sense ask, its important to understand …
So I am writing a program to read text from a file. Save from an array list to an array and then parse that array for ',' and use that to change words position in the 2d array i will write from the 1d array. So essentially String[]{"a,b,c","d,e,f"} ought to …
i think all you need is to define your "bal" outside of your main as "public double bal" that way the rest of your code has access to change that value. Right now your other methods have no way of accessing "bal". Side note why do your methods return "bal"? …
have you tried saving your output file as "file.csv"? as long as your format is correct the file should open correctly in an application such as excel. Simply add ".csv" to your file name and youre good to go. I hope that answers your question.
The End.
howemonster