Computer Programming – Characters

If it was easy to work with numbers in computer programming, it would be even easier to work with characters. Characters are simple alphabets like a, b, c, d...., A,…

Jacob

Computer Programming – Numbers

Every programming language provides support for manipulating different types of numbers such as simple whole integers and floating point numbers. C, Java, and Python categorize these numbers in several categories…

Jacob

Computer Programming – Loops

Let's consider a situation when you want to print Hello, World! five times. Here is a simple C program to do the same − #include <stdio.h> main() {   printf( "Hello, World!\n");   printf( "Hello, World!\n");…

Jacob

Computer Programming – Decision

Decision making is critical to computer programming. There will be many situations when you will be given two or more options and you will have to select an option based…

Jacob

Computer Programming – Operators

An operator in a programming language is a symbol that tells the compiler or interpreter to perform specific mathematical, relational or logical operation and produce final result. This chapter will…

Jacob

Computer Programming – Keywords

So far, we have covered two important concepts called variables and their data types. We discussed how to use int, long, and float to specify different data types. We also learnt how to name…

Jacob

Computer Programming – Variables

Variables are the names you give to computer memory locations which are used to store values in a computer program. For example, assume you want to store two values 10…

Jacob

Computer Programming – Data Types

Let's discuss about a very simple but very important concept available in almost all the programming languages which is called data types. As its name indicates, a data type represents a…

Jacob

Computer Programming – Basic Syntax

Let’s start with a little coding, which will really make you a computer programmer. We are going to write a single-line computer program to write Hello, World! on your screen. Let’s see…

Jacob

Computer Programming – Environment

Though Environment Setup is not an element of any Programming Language, it is the first step to be followed before setting on to write a program. When we say Environment…

Jacob