WiredWX Christian Hobby Weather Tools
Would you like to react to this message? Create an account in a few clicks or log in to continue.

WiredWX Christian Hobby Weather ToolsLog in

 


descriptionWhat is the code or algorithm for this program? EmptyWhat is the code or algorithm for this program?

more_horiz
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:
What is the code or algorithm for this program? Output12

Last edited by rusoman on 20th January 2009, 3:51 pm; edited 1 time in total

descriptionWhat is the code or algorithm for this program? EmptyRe: What is the code or algorithm for this program?

more_horiz
What language are you building this in?

descriptionWhat is the code or algorithm for this program? EmptyRe: What is the code or algorithm for this program?

more_horiz
I'm using C.

descriptionWhat is the code or algorithm for this program? EmptyRe: What is the code or algorithm for this program?

more_horiz
What code do you have so far? We dont write code for you, we help you correct errors in existing code. Therefore, I must ask you to show your source code so that we may help.

If you need help getting started, we can do that as well.

descriptionWhat is the code or algorithm for this program? EmptyRe: What is the code or algorithm for this program?

more_horiz
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum