Java Programming Code Examples
Java > Applets Code Examples
Replace First Occurrence of a Character in -
C Code replace first occurrence of a character with another in a string. Input the string from user, store it in some variable say 'str'. Input a character to replace, character new character
Reverse Counting program in C Language -
C Program reverse counting is sequence of whole numbers in descending order without zero. Developing a program of counting in C programming language is easy and we shall
Addition of Two Matrix in C++ Language -
To achieve Addition of two matrix we need 2 "Dimensional Array" and add their elements with each other, print result on screen. Enter elements of firts matrix. Enter elements of 2.
Calculate Sum of Array in C Programming -
C language programming code to calculate sum of array. This program should give an insight of how to parse (read) array. We shall use a loop and sum up all values of the array.
C Programming code Find largest number -
C language program code depending upon the number of elements, the required size is allocated which prevents the wastage of memory. If no memory is allocated, error is
C++ Implements Sorted Circularly Doubly -
Here is the source code of the C++ program to "display the values" present in the nodes cyclically. C++ language sample displays the nodes of a "Doubly Linked List" with the last
Input Password & Validation of Username -
Code accept character without echo (without displaying on Screen) getch will accept character and store it in "ch". ASCII value of "Enter Key" is 13. Stop accepting password
C++ Sample Coding Print Fibonacci Series -
Use the three variable say a, b and c. Place b in a and c in b then place a+b in c to print the value of c to make and print Fibonacci series as shown here in the following C++ program.