Php Programming Code Examples
Php > Code Snippets Code Examples
Display the date a page last modified
Whether a Path Exists Between two Given -
We create a queue for BFS. Mark the current node as visited and enqueue it. It will be used to get all adjacent vertices of a vertex. Get all adjacent vertices of the dequeued vertex s. If
Getting a User Input as String in The C++ -
This can be considered as inefficient method of reading user input, why? Because when we read the user input string using cin then only the "First word of the String" is stored in char
Coordinated Universal Time in C Language -
C program code returns time in Coordinated Universal Time (UTC) (essentially Greenwich mean time). Printing the local time and date. Printing coordinated Universal Time and date
Performs LU Decomposition of any Matrix -
C++ Program perform LU Decomposition of a matrix. LU decomposition factors a matrix as the product of a Lower Triangular Matrix and an upper 'triangular matrix'. Code sometimes
Coding find Maximum Minimum Element -
Code to enter elements in an array from user and find maximum and minimum elements in array. C program to find biggest and smallest elements in an array. Input element in array...
Find Palindrome Number in C++ language -
We already known that if reverse of a number is equal to the same number, it is Palindrome number. Remember it: certain variables and a loop use to get the reverse of a number which
C++ Codes Prints One Dimensional Arrays -
You have to ask to the user to enter array size array elements to store all the array elements in one dimensional and then print the array in "one dimension" using one for loop as shown
Code Prints Fibonacci Series upto n Terms -
C Programming print Fibonacci series up to n terms using loop. Fibonacci series is a series of numbers where the current number is the sum of previous two terms. For Example: 0, 1,