still seem that it has a liltle prob can u figure it out
public static void main(String[] args)
{
int [] [] totals = { {500, 150, 575, 500},
...
Type: Posts; User: LeeDD
still seem that it has a liltle prob can u figure it out
public static void main(String[] args)
{
int [] [] totals = { {500, 150, 575, 500},
...
i've tried all of these don't seem to work.. i was wondering if i need another control statement and where to put it
--- Update ---
ok thanks norm.. i tried adding new line somewhere i hadn't...
current ouput:
Overall Sales Distribution:
SalesP1 SalesP2 SalesP3 SalesP4 Total
Prod1 500 150 575 500Prod2 200 700 175 200Prod3 300 75 100 400Prod4 100 185 ...
*(Total Sales) Use a two-dimensional array to solve the following problem:
* A company has four salespeople (1 to 4) who sell five different products (1 to 5).
* Once a day, each salesperson...
setting up the loop i guess...
i tried new line characters every where wont work.
i've come to the conclusion now that i need a new loop or control statement
to go to new line after reading every...
SalesP1 SalesP2 SalesP3 SalesP4
prod1
prod2 and then the array numbers here to match row n columns
prod3
prod4
prod5
I'm really stuck right now..
like 2 hrs now, im tryna figure out a way to get this array in tabular format but its super difficult.
dont really like asking for help but im always grateful for it.....