:: Home Page
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   Errors
   Testimonials Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
 Categories >> Code Snippets
  Programming Code (801)   Scripts_Markup Code (196)
Suggest New Category 


Question Asked @ Answers Views     Select
How to Check if a string is alphanumeric or not using VB Script    1  2167
what is oop?    2  1811
which function is used to clear the buffer stream on gcc? for example: I wrote following code on gcc #include int main(void) { char ch; int a,b; printf("\nenter two numbers:\t"); scanf("%d%d",&a,&b); printf("enter number is %d and %d",a,b); printf("\nentercharacter:\t"); scanf("%c",&ch); printf("enter character is %c",ch); return 0; } in above progarm ch could not be scan. why?plz tell me solution.    2  2402
does anyone know the code to display a triangle using a applet?    1  1773
code inside filter to restrict users to access a servlet component . niit   1  1434
write a c program which takes 20 numbers in an array as input from user and rearrange them in two different array defining even or odd    0  1283
solve the problem in the programming language C++"if a five digit number is input through the keyboard.Write a program to calculate the sum of its digits(hint: use the modulus operator)    0  1467
program for check the given number is prime or not in    0  1439
write a program to calculate the amount of investment after a period n years if the principal investors was p and interest is calculated using compound interest,formular=a=p(1+r)^n jomo-kenyatta-university   0  1126
write a program to convert temperature from fa height into celcius and vise versa,use modular programming jomo-kenyatta-university   0  1101
write a program to calculate the radius for a quadratic equation use modular programming(function abitraction)hint use quadratic function jomo-kenyatta-university   1  1829
write a program that calculate the volume of cylinder after user enters radius and height and show the algorithm used jomo-kenyatta-university   1  3891
write a program that prompt the user to enter his height and weight,then calculate the body mass index and show the algorithm used jomo-kenyatta-university   0  2659
develop a program to calculate and print body mass index for 200 employees jomo-kenyatta-university   0  949
Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.    2  2399
E-Mail New Answers        Answer Selected Questions       
Prev    1    8   [9]    10  ... 16   ... 21   ... 26   ... 31   ... 36   ... 41   ... 46   ... 51   ... 56   ... 61   ... 66    Next
Un-Answered Questions
 Question Views   Select
Given a table of the form: Product Sold on A 1/1/1980 B 1/1/1980 C 1/1/1980 A 1/1/1980 B 1/1/1980 C 2/1/1980 A 2/1/1980 There are 30 products and 10,000 records of such type. Also the month period during which sales happened is given to u. Write the program to display the result as: Product Month No. of copies A January 12 A February 15 A March 27 B January 54 B February 15 B March 10 C January 37 903
write a program to input a natural number less than and display it in words.test your program on the sample data and some random data sample input= 29 sample output= Twenty nine sample input=17001 sample output= out of range sample input=119 sample output =one hundred and nineteen sample input=500 sample output=five hundred 1751
how to manage mlng timer because they don't explain what's it's function? 1506
1.Why does only one copy of a servlet object get created? What happens if you want to remove an old servlet object currently running but do not want to stop the entire servlet engine? 2.How does one servlet object deal with interactions from many browser? (e.g. if your servlet ran an email site, how can it keep track of hundreds of users logging in, reading their mail, etc.) 1267
How to access oralce10g data from server to client in LAN? 971
write a program to calculate the amount of investment after a period n years if the principal investors was p and interest is calculated using compound interest,formular=a=p(1+r)^n 1126
For printing a message we use System.out.println in normal programs. We use String msg="text....."; Can't we use String msg=" " in normal programs and System.out.println("........") in applets. Please answer this question? 829
Code to Block submission of form by pressing Enter Key 1086
Cluster head selection in Wireless Sensor Network using C programming language. 1038
How can call any javascript function without saying onclick, onchange, onblur etc events in php? 2722
how to determine which Mouse Button was pressed 752
Definition of priority queue was given. We have to implement the priority queue using array of pointers with the priorities given in the range 1..n. The array could be accessed using the variable top. The list corresponding to the array elements contains the items having the priority as the array index. Adding an item would require changing the value of top if it has higher priority than top. Extracting an item would require deleting the first element from the corresponding queue. The following class was given: class PriorityQueue { int *Data[100]; int top; public: void put(int item, int priority); // inserts the item with the given priority. int get(int priority); // extract the element with the given priority. int count(); // returns the total elements in the priority queue. int isEmpty(); // check whether the priority queue is empty or not. }; We had to implement all these class functions. 3056
How to change winform look? 1236
Who could write how to find a prime number in dynamic array? 724
Could u please tell me any UNIX scripts that 'll lead to find the network latency of the servers.?or else any unix command to find the network latency of a server?Thnx in advance... 566
E-Mail New Answers        Answer Selected Questions