Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes


       

Java Programming Code Examples

Java > Learning Code Examples

Raise Exceptions





Remove all Occurrences of Word in String - C program remove all 'occurrences' of a given word in string using loop. Logic to remove all occurrences of a word in a string. Input string from user, store it in some variable say string.

Cryptography by Transposition Technique - This "C++" Program implement transposition technique. In "Cryptography", a transposition cipher is a method of encryption by which the positions held by units of plaintext (which are

C Power of a Number using Pow Function - C Programming Code to input two numbers from user and find their power using pow() function. How to find power of a number in c. How to use pow() function in C programming.

C Program Code Finds Reverse of an Array - C program just print array in reversed order. It does not reverses the array. Here I am writing the first basic logic to reverse an array. It uses above approach to access array element in...

Find the First Occurrence of a Character in - C program to 'input any string' from user and find the 'first occurrence' of a given character in the string. Input string from user and store it in a variable say "str". Run a loop from start

Code find maximum using ladder if.else.if - Instead of using Nested If Else. Lets combine 2 or more conditions together using Logical Operators. A number j1 among 3 numbers j1, j2 and j3 is said maximum if j1 > j2 and j1 > j3.

C Program Code Calculate Simple Interest - C code example to input principle amount in some variable say principle and input time in some variable say time. Input rate in some variable say rate. Find simple interest using

C Program to Display Factors of a Number - This C Program takes a Positive Integer from the user & displays all the positive factors of that number. The for loop is iterated until j<= Number is False. In each iteration, number is