Category: Basic Programs

Basic Programs

Program for Prime number in PHP

by:

A number that is merely divisible by 1 and itself is named a major number. Numbers 2, 3, 5, 7, 11, 13, 17, etc. are prime …

Basic ProgramsFeatured

Program for Even or Odd Number in PHP

by:

All the numbers which end  with 1,3,5,7 and 9 are odd numbers. for instance , numbers like 11, 23, 35, 47 etc. are odd numbers. All …

Basic Programs

Sum of Digits in PHP

by:

The sum of the digits of variety is named its digit sum. For instance , the digit sum of 15 is 6 because 1 + 5 …

Basic ProgramsPhpPHP Interview Questions

How PHP Reverse Number Program Works?

by:

It is very easy to reverse a number using PHP string function strrev(). But here i will show you without using strrev() function. crayon-61afcae684546566762385/ Output: 54151