C Program to Display Fibonacci Sequence

fibonacci-sequence

The Fibonacci sequence is a sequence where the next term is the sum of the previous two terms. The first two terms of the Fibonacci sequence are 0 followed by 1. The Fibonacci sequence: 0, 1, 1, 2, 3, 5, 8, 13, 21 Visit this page to learn about the Fibonacci sequence. Fibonacci Series up … Read more

C Program to Find Factorial of a Number

Program to find Factorial of a Number using Recursion

The factorial of a positive number n is given by: factorial of n (n!) = 1 * 2 * 3 * 4….n The factorial of a negative number doesn’t exist. And, the factorial of 0 is 1. Factorial of a Number   #include <stdio.h>   int main() {   int n, i;   unsigned long … Read more

install Bluefish on centos

Bluefish is a free and open source software that text editor with a variety of tools for programming and development of dynamic websites. It supports HTML, XHTML, CSS, XML, PHP, C, C++, JavaScript, Java, Ada, D, SQL, etc. It can be also used via integration with GNOME or as a standalone application. This tutorial covers … Read more

Find LCM of two numbers in C

lcm program in c

Find LCM of two numbers in C What is LCM The Least Common Multiple ( LCM ) is also referred to as the Lowest Common Multiple ( LCM ) and Least Common Divisor (LCD) . For two integers a and b, denoted LCM(a,b), the LCM is the smallest positive integer that is evenly divisible by both a and b. For example, LCM(2,3) = … Read more

Installing Google Chrome on CentOS

Follow the steps listed below to install Google Chrome on your CentOS system: Start by opening your terminal and downloading the latest Google Chrome .rpm package with the following wget command: wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm Once the file is downloaded, install Google Chrome on your CentOS 7 system by typing: sudo yum localinstall google-chrome-stable_current_x86_64.rpm The command above … Read more

HTTP 404 ERROR

  The HTTP 404, 404 Not Found, 404, Page Not Found, or Server Not Found error message is a Hypertext Transfer Protocol (HTTP) standard response code, in computer network communications, to indicate that the browser was able to communicate with a given server, but the server could not find what was requested. Further, when the … Read more

control operators

In this post we put more than one command on the command line using control operators. We also briefly discuss related parameters ($?) and similar special characters(&). ; semicolon You can put two or more commands on the same line separated by a semicolon ; . The shell will scan the line until it reaches … Read more

commands and arguments(shell expansion)

arguments One of the primary features of a shell is to perform a command line scan. When you enter a command at the shell’s command prompt and press the enter key, then the shell will start scanning that line, cutting it up in arguments. While scanning the line, the shell may make many changes to … Read more