:: 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
   Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
 Categories >> Code Snippets
  Programming Code (756)   Scripts_Markup Code (132)
Suggest New Category 


Question Asked @ Answers Views     Select
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  373
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  423
program for check the given number is prime or not in    0  344
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  417
write a program to convert temperature from fa height into celcius and vise versa,use modular programming jomo-kenyatta-university   0  334
write a program to calculate the radius for a quadratic equation use modular programming(function abitraction)hint use quadratic function jomo-kenyatta-university   1  470
write a program that calculate the volume of cylinder after user enters radius and height and show the algorithm used jomo-kenyatta-university   1  624
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  583
develop a program to calculate and print body mass index for 200 employees jomo-kenyatta-university   0  356
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  511
Write a Program that Inputs 10 Numbers in an Array and Show the Maximum Number ace-info   1  450
write a program that reads a series of strings and prints only those strings begging with letter "b"    0  370
void main() { int x,y=2,z; z=(z*=2)+(x=y=z); printf("%d",z); }    4  565
IS Array list is generic or non generic    1  487
main(){int a=5,b 10,c=2, d;a=b c;d=++a=(--c)*2; printf("%d%d%d%d,a,b,c,d; return o;}    1  435
E-Mail New Answers        Answer Selected Questions       
Prev     1   [2]    3  ... 9   ... 13   ... 17   ... 21   ... 25   ... 29   ... 33   ... 37   ... 41   ... 45   ... 49   ... 53   ... 57    Next
Un-Answered Questions
 Question Views   Select
How can I Draw an ellipse in 3d space and color it by using graph3d? 538
Teta-Omeg-Big-Oh Show that f(n) = n2 + 3n3 is ;(n3). 927
hai, i want to know how the connectionpool manager work in the java or netbeans.Anybody having the exact code plz give to me i have no idea about that so help me plz 398
program to show a progress bar 832
Which keyword is alias for count keyword in php? 323
code to images to rollover 414
What is the best way to make wordpress plugin 705
import java.awt.*; import java.awt.event.*; public class Agency extends Frame implements ActionListener { Label l1,l2,l3,l4; Button b1; TextField t1,t2; String s1,s2,s3,s4; public static void main(String args[]) { new Agency().setVisible(true); } public Agency() { super("Gas Agency Package"); setSize(1280,800); setBackground(Color.lightGray); setLayout(null); // setLayout(new BorderLayout()); t1=new TextField(20); t1.setBounds(440,150,200,30); t1.setBackground(Color.white); t2=new TextField(20); t2.setBounds(440,180,200,30); t2.setBackground(Color.white); t2.setEchoChar('*'); l1=new Label("Gas Agency Package"); l1.setBounds(400,30,300,50); l1.setFont(new Font("TimesRoman",Font.BOLD,25)); l1.setAlignment(Label.CENTER); l2=new Label("Enter your ID and Passoword"); l2.setFont(new Font("TimesRoman",Font.BOLD,20)); l2.setBounds(270,80,300,50); l3=new Label("Enter ID"); l2.setFont(new Font ("TimesRoman",Font.BOLD,20)); l3.setBounds(270,150,120,50); l4=new Label("Enter Passoword"); l2.setFont(new Font ("TimesRoman",Font.BOLD,20)); l4.setBounds(270,180,140,50); add(l1); add(l2); add(l3); add(t1); add(l4); add(t2); b1=new Button("Login"); b1.setBackground(Color.white); b1.setBounds(400,280,100,70); b1.addActionListener(this); add(b1); } public void actionPerformed(ActionEvent e) { if(e.getSource()==b1) { s3="svce"; s4="svce"; s1=t1.getText(); s2=t2.getText(); if(s1.equals(s3) && s2.equals(s4)) { //System.out.println("password is correct"); MenuForm m= new MenuForm(); m.setVisible(true); //this.dispose(); } else { System.out.println("password not correct"); } this.dispose(); } } } plzzzzzzz xplain me this java code like why i m including this packages n the whole code plzzzzzz 334
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.. 458
what is main difference between array_push and array_pop? 427
How to Link Different Data Sources Together? 460
Please give me the codes for deadlock(like detecting,& avoiding) in any version of 732
What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql 317
What is difference between in_array and array_search? 774
How to Bind Nested XML to a Repeater Control with Container.DataItem? 1233
E-Mail New Answers        Answer Selected Questions