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 > Mathematics Code Examples

Simple Mathematical Calculations 2





Count Alphabets Digits Special Characters - C program Count total number of Alphabets, Digits or 'Special Characters' in a string using Loop. How to find total number of alphabets, digits & special characters in a string in The C

Program Shows How a Pointer is Declared - There are several other things that we can do with "pointers", we have discussed them later in this guide. Now, we just need to know how to link a pointer to the 'Address of a Variable'.

C Read and Write Strings gets() and puts() - String is an 'Array of characters'. In this guide, we learn how to declare strings, how to work with strings in C language and how to use the 'pre-defined' string handling functions. String

Volumes & Areas of geometric shapes in c - C program coding to calculate area, volume, perimeter of a particular geometric shape. Square, rectangle, circle, triangle, rhombus, parallelogram, trapezium, quadrilateral,...

Removing First Occurrence of a Character - C program to "read any string" from user and Remove first Occurrence of a given character from the string. The program should also use the concept of functions to remove the given

C++ Coding Generating Random Numbers - Following C++ program generate 100 random numbers using rand() function of stdlib.h. To generate random numbers in C++, we use the function rand() to generate and print random

Program to calculate Average of array in C - This C program should give an insight of how to parse (read) array. We shall use a loop and Sum up all Values of the array. Then we shall divide the sum with the number of elements

C Program to find lower Triangular Matrix - Read elements in a matrix and check whether the matrix is a lower triangular matrix or not. To find whether a matrix is lower triangular or not we need to check if all elements above...