I need your help, i need a Turbo C code for this problem..
hope u'll help me guys.?
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 walues in the
array


Thanks..


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Code Interview Questions

Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal.

6 Answers   Fusion Systems GmbH,


How do you create a really large matrix (i.e. 3500x3500) in C without having the program crash? I can only reach up to 2500. It must have something to do with lack of memory. Please help!

1 Answers  


Is the following code legal? struct a { int x; struct a *b; }

2 Answers  


void main() { int const * p=5; printf("%d",++(*p)); }

3 Answers   Infosys, Made Easy, State Bank Of India SBI,


main() { int i = 100; clrscr(); printf("%d", sizeof(sizeof(i))); } a. 2 b. 100 c. 4 d. none of the above

5 Answers   HCL,


How will you print % character? a. printf(“\%”) b. printf(“\\%”) c. printf(“%%”) d. printf(“\%%”)

4 Answers   HCL,


char *someFun() { char *temp = “string constant"; return temp; } int main() { puts(someFun()); }

1 Answers  


void main() { int i=5; printf("%d",i++ + ++i); }

3 Answers  


main() { char *p; p="%d\n"; p++; p++; printf(p-2,300); }

1 Answers  


what is the code of the output of print the 10 fibonacci number series

2 Answers  


How we print the table of 3 using for loop in c programing?

7 Answers  


Write a routine to implement the polymarker function

0 Answers   TCS,


Categories