Supply it

Reply

Join Date: Sep 2008
Posts: 5
Reputation: taichou is an unknown quantity at this point 
Solved Threads: 0
taichou taichou is offline Offline
Newbie Poster

Supply it

 
0
  #1
Jan 9th, 2009
please help me with this
SUPPLY IT!

Your program will have a 3x3 array. The user will input the sum of each row and each column. Then the user will input 3 values and store them anywhere, or any location or index, temporarily in the array. Your program will supply the remaining six (6) values and determine the exact location of each value in the array.
Example:
Input: Sum of row 1: 6
Sum of row 2: 15
Sum of row 3: 24
Sum of column 1: 12
Sum of column 2: 15
Sum of column 3: 18
Value 1: 3
Value 2: 5
Value 3: 6

Output: Sum of Row
1 2 3 6
4 5 6 15
7 8 9 24
Sum of column
12 15 18
Note: Your program will not necessary sort the values in the array.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 538
Reputation: Murtan is a jewel in the rough Murtan is a jewel in the rough Murtan is a jewel in the rough Murtan is a jewel in the rough 
Solved Threads: 86
Murtan Murtan is offline Offline
Posting Pro

Re: Supply it

 
0
  #2
Jan 9th, 2009
store them anywhere
Who gets to pick where they are stored?

Ok, post the code for what you already know how to do.

Remember to use C code tags:
[code=C]
/* your code here */
[/code]
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC