Browsing: Logical Programming
An array can stores multiple value in a single variable. There different types of array in PHP such as single…
There are different pattern design available in PHP using asterisk (*) symbol.Such as Diamond Pattern, Diamond Triangle number,Reverse Pyramid Pattern,Heart…
In PHP we can swap two numbers in two ways-1. Swap two numbers using third variable.2. Swap two numbers using…
LCM stands for “Least Common Multiple”.The least common multiple (LCM) of two numbers is the smallest number (not zero) that…
In mathematics, the factorial function (symbol: !) says to multiply all whole numbers from our chosen number down to 1.Example…
A prime number is a natural number greater than 1 that is not a product of two smaller natural numbers.Such…
A leap year is a calendar year that contains an additional day added to keep the calendar year synchronized with…
We read in math Odd and Even numbers that is Odd numbers are whole numbers that cannot be divided exactly into pairs…
We read in math Odd and Even numbers that is Odd numbers are whole numbers that cannot be divided exactly into pairs…