This is a question that deals with C programming.
208579
printf("%-15u&#92;n",40000);\n\nprovided I understood it correctly.
78434
Try this:\n\n#include <stdio.h>\n\nmain()\n{\nint size,array[50],n,m,border,max,buf,step;\nint i, j, temp;\n\nprintf("Input number of elements in array:");\nscanf("%d",&size);\n\nfor(n=0;n<size;n++) {\n  printf("input %d. element of array:",n+1);\n  scanf("%d",&array[n]);\n  }\n\n for (i=(size-1);i>=0; i--)\n  {\n   for(j=1;j<=i;j++)\n    {\n     if(array[j-1]>array[j])\n      {\n       temp=array[j-1];\n       array[j-1]=array[j];\n       array[j]=temp;\n      }\n     }\n   }\n\nfor(n=0;n<size;n++)\n   printf("%d. element: %d&#92;n",n+1,array[n]);\n\n}\n\n\n\nHERE IS MY OUTPUT:\n\nInput number of elements in array:8\ninput 1. element of array:6\ninput 2. element of array:2\ninput 3. element of array:3\ninput 4. element of array:5\ninput 5. element of array:1\ninput 6. element of array:4\ninput 7. element of array:5\ninput 8. element of array:7\n1. element: 1\n2. element: 2\n3. element: 3\n4. element: 4\n5. element: 5\n6. element: 5\n7. element: 6\n8. element: 7
290489
Code written in C and it works in C++\n\n#include <stdio.h>\n#include <conio.h>\n\nvoid main() {\n     float f[5];\n     int   i[5];\n     int j;\n     clrscr();\n     printf("Please, enter five float numbers: &#92;n");\n     for (j=0;j<5;j++){\n scanf("%f",&f[j]);\n i[j]=(int) f[j];\n     }\n     printf("Float value&#92;n");\n     for (j=0;j<4;j++)\n printf("%2.2f&#92;n",f[j]);\n     printf("&#92;nInteger value&#92;n");\n     for (j=0;j<4;j++)\n printf("%d&#92;n",i[j]);\n\n     getch();\n}
376210
C is correct but not complete... only the 3 is factored out... the real answer would be:\n\n3(x-1)(x+4)
620821
That would be C.  \n\nThese links should help you understand this question.
62710
C solution:\n\nint nr[20];\nint valid=1,i,j;\nint main(int argc, char **argv){\nfor (i=0;(i<20)&&(valid);i++){\n scanf("%d",&nr[i]);\n if (nr[i]<10)||(nr[i]>100){\n  printf("Invalid number");\n  valid=0;\n }\n for (j=0;j<i;j++)\n  if (nr[j]==nr[i]){\n    printf("Duplicate number");\n    valid=0;\n  }\n}\n}
413398
This question is kinda confusing.
317410
include <stdio.h>\n\nvoid main(){\n   float no;\n   scanf("%f",&no);\n   if(!( ((int)no)%7!=0 || ((int)no)%2==0 )) \n      printf("No is divisible by 7 and not divisible by 2");\n}\n\nsalam
599962
I'm assuming that C' means not-C, rather than another variable.\n\nABC+ABD+C'D\n= ABC + ABD(C+C') + C'D\n= ABC + ABCD + ABC'D + C'D\n= ABC(1+D) + C'D(AB+1)\n= 1ABC + 1C'D\n= ABC + C'D\n\nWrite out the truth table and you can easily see that this is the case.
176644
a programmer wont waste his/her time here!\nso there is no one to answer you ;)
646415
close your eyes and pray. if it's multiple choice color in c all the way down
475442
buy a c programming book\nauthor name is E BALAGURUSWAMY\nhe has explained it from the very basics\neasy to understand.\nyou have a computer at home?\ninstall c programming in your computer and try out simple basic programmes given in the book\nthis will help you understand faster.
465157
A. Just multiply CF and then subract the resulting matrix from C. Is there something specific about the required operations you don't understand?
559925
That's silly.   Any code for VB that is converted to C would require lots of redesign.  Certainly, you would not make the new C code to use the VB objects.   You would design it to use it's own libraries and such.  \n\nGood luck
107200
Here it is:-\n\n/* Convert.cpp */\n/* Display the reverse of the input */\n/* By Senthil */\n\n#include <iostream.h>\n#include <conio.h>\n#include <string.h>\n\nvoid main()\n{\nchar inp[10];\nint cnt = 0, ex = 0;\nclrscr();\n\ncout<<"Enter some characters (max limit 10) : ";\ncin>>inp;\n\ncnt = strlen(inp);\ncnt--;\nfor(ex = 0;ex != cnt;ex++,cnt--)\n{\ninp[ex] = inp[cnt];\n}\ncout<<"The reverse of the string is : "<<inp;\ngetch();\n}
380434
Sorry.... i guess ur question a lil tricky.... Well i am C++ prog and work on the VC++ platform...
67034
int\nmain (void)\n{\nfor(i=0;i<10;i++){\nprintf("some thing output here %d", i)\n}\n}