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
main() { printf("\nab"); printf("\bsi"); printf("\rha"); }
find A^B using Recursive function
what is the output of the below program & why ? #include<stdio.h> void main() { int a=10,b=20,c=30; printf("%d",scanf("%d%d%d",&a,&b,&c)); }
main() { printf("%d, %d", sizeof('c'), sizeof(100)); } a. 2, 2 b. 2, 100 c. 4, 100 d. 4, 4
18 Answers HCL, IBM, Infosys, LG Soft, Satyam,
main() { main(); }
How do you write a program which produces its own source code as its output?
how can i cast a char type array to an int type array
main() { char *p = “ayqm”; char c; c = ++*p++; printf(“%c”,c); }
main() { int a=10,*j; void *k; j=k=&a; j++; k++; printf("\n %u %u ",j,k); }
main(int argc, char *argv[]) { (main && argc) ? main(argc-1, NULL) : return 0; } a. Runtime error. b. Compile error. Illegal syntax c. Gets into Infinite loop d. None of the above
‎#define good bad main() { int good=1; int bad=0; printf ("good is:%d",good); }
struct Foo { char *pName; char *pAddress; }; main() { struct Foo *obj = malloc(sizeof(struct Foo)); clrscr(); obj->pName = malloc(100); obj->pAddress = malloc(100); strcpy(obj->pName,"Your Name"); strcpy(obj->pAddress, "Your Address"); free(obj); printf("%s", obj->pName); printf("%s", obj->pAddress); } a. Your Name, Your Address b. Your Address, Your Address c. Your Name Your Name d. None of the above