| | |
Supply it
![]() |
•
•
Join Date: Sep 2008
Posts: 5
Reputation:
Solved Threads: 0
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.
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.
![]() |
Similar Threads
- Power supply will not start. (Troubleshooting Dead Machines)
- Action against Amamax for selling bad power supply (Troubleshooting Dead Machines)
- Power Supply Failur? (Cases, Fans and Power Supplies)
- Power supply Notes (Motherboards, CPUs and RAM)
Other Threads in the C Forum
- Previous Thread: Please help with this menu
- Next Thread: warning when address of pointer to local variable is passed
| Thread Tools | Search this Thread |
adobe api array arrays binarysearch calculate char cm convert copyanyfile copypdffile cprogramme createcopyoffile createprocess() csyntax directory dynamic feet fflush file floatingpointvalidation fork forloop frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hacking hardware highest homework i/o inches incrementoperators intmain() iso kernel kilometer km linked linkedlist linux linuxsegmentationfault list locate logical_drives loopinsideloop. match matrix microsoft motherboard mqqueue mysql oddnumber odf open opendocumentformat opensource openwebfoundation owf pattern pdf performance pointer posix power probleminc program programming pyramidusingturboccodes read recursion recv recvblocked repetition research scanf scheduling segmentationfault send shape socketprograming socketprogramming stack standard strchr string suggestions systemcall test unix urboc user variable voidmain() wab win32api windows.h





