# PHP – Display random images from a directory.

This is a small script made by me to display random images from a directory. The directory is supposed to be provided by the user. Before we take a look at the programs, I want to list the functions that …

# PHP – Body mass index (BMI) calculator

This is a simple PHP script that calculates body mass index of a person and determines if the person is obese or not. Before going to the code, some information about what BMI is. From Wikipedia. The script contains two …

# Solution to Project Euler Problem 16

This program is the solution to Project Euler’s Problem 16. It can be found here. The problem says: The program uses the BigInteger class to deal with large numbers. The answer comes out to be 1366 which is judged correct …

# Program to calculate the sum of all the primes below two million. (Project Euler- Problem 10)

This program is the solution to Project Euler – Problem 10 which can be found here. The Problem: The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all …

# Program to find 10001st prime number (Project Euler- Problem 7)

This java program is the solution to Project Euler’s problem-7. It can be found here The problem: By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. …

This is a program to demonstrate how php can be used to let users upload files to a server. Firstly, we will be constructing a HTML form which allows the user to choose the file he wishes to upload. So …

# PHP spell checking script

This is a spelling checking script written in PHP/MySQL. It asks the user to input an English word and checks if the spelling is correct. If the spelling is not correct, it offers different suggestions of similar words. The script …

# C# Program to display the pascal’s triangle

This is a C# program to print the pascal’s triangle. This program uses the for loops to print the Pascal’s triangle. Before we move on to the program, let us learn what a Pascal’s triangle really is. Pascal’s triangle from …