Php Programming Code Examples
Php > Date Time Code Examples
Function to convert Arabic numbers into Roman Numerals
Convert from degree Celsius to Fahrenheit -
Input temperature in Centigrade and convert to Fahrenheit. How to convert temperature from degree centigrade to degree Fahrenheit in C programming. The logic of temperature
C++ Language Displaying Fibonacci Series -
The Fibonacci sequence is a series where the next term is the "sum of pervious two terms". The first two terms of the Fibonacci sequence is 0 followed by 1. Fibonacci Numbers: 0, 1, 1,
C Programming coding Calendar example -
This is because a leap year does not strictly fall on every fourth year. If a year is divisible by 4, then it is a leap year, but if that year is divisible by 100, then it is not a leap year.
Program code to Reverse a Given Number -
Take the Number which you have to Reverse as the input. Obtain its quotient & remainder. Multiply the separate variable with 10 & add the obtained remainder to it. Do step 2 again
Every Possible Combination of two Strings -
Program display every 'possible combination' of 2 "Words or Strings" from the input strings without repeated combinations. Read strings into 2d character arrays. Concatenate string1
Find k Numbers closest to Median of the S -
Firstly We need to find k numbers which have a minimum difference with the median of the data set. It includes sorting using 'Quick Sort' and then printing k numbers as a result. Time
C Code Print Fibonacci Series by Recursion -
Program print 'Fibonacci Series' by recursion. "L. Fibonacci" discovered a simple numerical series called Fibonacci Series. Starting with 0 & 1, each new number in the series is simply...
Code Display the IP Address of the System -
Create a socket to define network interface IPv4. Define the IPv4 address type. Define the port name where network is attached. Access the network interface information...