While loops

While Loops

Submitted by Muzammil Muneer on

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.