Php Programming Code Examples
Php > Code Snippets Code Examples
DIsplay the content type of a file with PHP and cURL
C++ Programs Finds kth Smallest Element -
"Partitioning the array" on the basis of values at high as pivot value. Swapping value at high and at the index obtained. Partitioning array using last element as a pivot. And recursively
C++ Codings Store & Display Information -
Program stores the information (name, roll & marks) of 10 students using structures. In this program, a structure, student is created. This structure has three members: name ('string'),
C Programming calculator use Switch Case -
Step by step descriptive logic to create menu driven calculator that performs all basic math operations. Input 2 numbers and a Character from user in the given format. Store them in
C Programming Selection sort [linked list] -
Load some random values into the linked list. Adds a node at the end of a linked list. If the list is empty, create first node. Go to last node. Add node at the end. Assign data to...
C program to Getting the Time as a String -
Returns the time as a string in 12 or 24 hour format. Stores the time as a string. Getting time value. Getting time and date structure. Save the hour value. Adjust if 12 hour format.
Take Decimal Number as input & converts -
C Program code takes the decimal number (entered by user) as input and converts it into an octal number using the function. In this c program, you should be familiar with the...
Triangle is Valid or not if Angles are given -
C Program code to check whether a Triangle is valid or not if angles are given using if else. Input all three angles of triangle in a variable say angle1, angle2 and angle3. Find sum of...
C++ Find the HCF and LCF of 2 Numbers -
Enter the two number, to find the HCF and LCF of the given two number to display the value of the HCF and LCM of the 2 numbers on the output screen as shown here in code