C Programming

Do While Loops

Do While loops

In this part you will learn: 1. C syntax 2. Do While loops In this tutorial I will teach you about Do While loops. We will see a very basic program at first to grasp the concept of while loop and then afterwards we will make another program of reversing a number. Do While Loop Basic Step: Open Dev C++ then File > new > source file and start writing the code below.

While Loops

While loops

In this part you will learn: 1. C syntax 2. While loops 3. More about Conditional Statements In this tutorial I will teach you about While loops. We will see two programs that use while loops. The first one will calculate the table of the number that user enters and the second one will calculate the average of a sum of numbers. Calculating Table Basic Step: Open Dev C++ then File > new > source file and start writing the code below.

Switch Statement and Loops

Switch Statements and Loops

In this part you will learn: 1. C syntax 2. Switch Statement 3. For Loop In this tutorial I will teach you about Switch statements and some basics of For loop. The first program is related to switch statement. The second and third program is about for loop. Switch Statement Basic Step: Open Dev C++ then File > new > source file and start writing the code below.

Conditional Statements

Conditional Statements

In this part you will learn: 1. C syntax 2. Conditional Statements 3. Operators In this tutorial I will teach you about conditional statements in C. The first program will be a basic one with a most basic conditional statement. The second one is a grade calculator. First Program. Basic Conditional Statements Basic Step: Open Dev C++ then File > new > source file and start writing the code below.

Writing Your First C Program

Writing Your First C Program

In this part you will learn: 1. C syntax 2. Headers 3. Declaring Variable 4. Brackets and tabs 5. Input/output In this tutorial I will teach you about how to write a C Program first time. In the first program we will learn about printing on the screen and variable. In the second program we will learn about taking input from the user and displaying It on the screen. Basic Step: Open Dev C++ then File > new > source file and start writing the code below.