C Program to Find the Largest Number Among Three Numbers

Using if Statement #include <stdio.h> int main() { double n1, n2, n3; printf(“Enter three different numbers: “); scanf(“%lf %lf %lf”, &n1, &n2, &n3); if (n1 >= n2 && n1 >= n3) printf(“%.2f is the largest number.”, n1); if (n2 >= n1 && n2 >= n3) printf(“%.2f is the largest number.”, n2); if (n3 >= n1 … Read more

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

Install LibreOffice on CentOS

1. Download LibreOffice Linux Package LibreOffice  64-bit version wget http://download.documentfoundation.org/libreoffice/stable/6.1.3/rpm/x86_64/LibreOffice_6.1.3_Linux_x86-64_rpm.tar.gz LibreOffice  32-bit version wget http://download.documentfoundation.org/libreoffice/stable/6.1.3/rpm/x86/LibreOffice_6.1.3_Linux_x86_rpm.tar.gz 2. Change to root User su – ## OR ## sudo -i 3. Extract LibreOffice Package and Access Directory LibreOffice tar -xvf LibreOffice_* cd LibreOffice_* LibreOffice tar -xvf LibreOffice_* cd LibreOffice_*   4. Install / Update LibreOffice RPM packages Install … Read more

The History of the Internet

Before there was the public internet there was the internet’s forerunner ARPAnet or Advanced Research Projects Agency Networks. ARPAnet was funded by the United States military after the cold war with the aim of having a military command and control center that could withstand a nuclear attack. The point was to distribute information between geographically … Read more

History of Supercomputers

Many of us are familiar with computers. You’re likely using one now to read this blog post as devices such as laptops, smartphones and tablets are essentially the same underlying computing technology. Supercomputers, on the other hand, are somewhat esoteric as they’re often thought of as hulking, costly, energy-sucking machines developed, by and large, for … Read more