## PHP Program to Separate Positive & Negative numbers from an Array

In this tutorial we are going to see how to separate positive & negative values from an array in PHP language. The logic is very simple you have to loop through the array and check if the value is >… Continue Reading

## PHP Script to find Largest & Smallest value in an array without using loop.

These kind of question are asked many time in Interviews to confuse the candidates. It’s actually much easier than using loops. So how to find the largest and smallest value in an array without using loop? It’s very simple, we… Continue Reading

## Python Program to count the number of vowels in a string!

Here is another interesting Python program which will take a word or sentence as an input (basically a string) and return the number of vowels present in it. There are numerous way you can write a Python program to count… Continue Reading

## PHP Script to Strip Vowels from String!

In this post we are going to see how to write a PHP script to strip vowels from string. This post could be useful for school / college students or beginners PHP learners.

## PHP Script to print Floyd’s Triangle

Floyd’s Triangle is a right-angled triangle filled with rows of consecutive numbers. It starts with 1: Example of 4 rows of Floyd’s Triangle: 1 2 3 4 5 6 7 8 9 10 Let’s see how to print Floyd’s Triangle… Continue Reading

## C Program to Check if a string is Palindrome or not

Before going in to the program you should know what is a palindrome first. A palindrome is a word, phrase or a number which reads the same backward as forward. For example, 1. madam 2. civic 3. Madam, I’m Adam 4. A… Continue Reading

## Find Factorial of a number using only JavaScript!

JavaScript is one of mostly used scripting language all over the world. Today in this post we are going to see how to write a program to print Factorial values of a number using plain JavaScript. Lets’ see the example… Continue Reading

## C Program to Find Factorial of a Number!

Here is another interesting program for school students who are interested in learning C programming. This program will calculate the factorials and print all the values as a factorial pyramid. Example (C Program to find factorial of a number):

## C Program – Convert string from Uppercase to Lowercase!

Let’s write an useful C program today. This C Program will convert any Uppercase string to Lowercase. For this, we are going to use tolower() function which is already available in C itself.