| | |
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 ansi api array asterisks binarysearch calculate centimeter changingto char cm convert copyanyfile copyimagefile copypdffile cprogramme creafecopyofanytypeoffileinc createcopyoffile csyntax database directory fflush file fork forloop frequency givemetehcodez grade graphics gtkgcurlcompiling gtkwinlinux hacking highest histogram homework i/o inches infiniteloop input interest iso kernel keyboard km linked linkedlist linux linuxsegmentationfault list locate looping loopinsideloop. lowest match microsoft mqqueue mysql number open opendocumentformat owf pattern pdf performance posix power probleminc process program programming pyramidusingturboccodes radix read recv repetition research reversing scanf scheduling segmentationfault send sequential socket socketprograming stack standard string systemcall threads turboc unix user variable voidmain() wab whythiscodecausesegmentationfault win32api windows.h windowsapi





