943,796 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 696
  • Java RSS
Aug 5th, 2009
0

Multidimensional array in java..!

Expand Post »
How to make a code for this using multidimensional array in java:

Underwear Unit Price Quantity Amount
Brief 10.00 5 50.00
Panty 5.00 20 100.00
Bra 25.00 1 25.00

TOTAL AMOUNT: 175.00
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
loozax is offline Offline
15 posts
since Jul 2009
Aug 5th, 2009
0

Re: Multidimensional array in java..!

use class for this.
store all the info in class.
store class in to array.
Reputation Points: 165
Solved Threads: 59
Posting Pro in Training
DangerDev is offline Offline
485 posts
since Jan 2008
Aug 5th, 2009
0

Re: Multidimensional array in java..!

Wow, I had to do this one in school too!

Get as much down on code as you can and we can help you step through were you're stuck
Reputation Points: 155
Solved Threads: 41
Posting Whiz in Training
rapture is offline Offline
294 posts
since Jul 2007
Aug 5th, 2009
0

Re: Multidimensional array in java..!

You need to tell us more.

Do you want the program to be able to multiply out values for you and store them or do you just want it to be a container for values that you decide?

And try to do it first. There are plenty of tutorials out on the internet. Use them if you absolutely have no idea what to do and can't figure it out.
Reputation Points: 66
Solved Threads: 2
Newbie Poster
Godstryke is offline Offline
24 posts
since Jul 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Can someone give me a code for this?
Next Thread in Java Forum Timeline: how to read multiple ms access table using jdbc





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC