Skip to main content

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.
  2. #include<stdio.h>&#13;
  3. #include<conio.h></conio.h></stdio.h>
These two are the most common and basic header files. The first one stdio.h is used to grant us most of the basic functions of C like Input and Output functions. The

Add new comment