Posts

Showing posts from October, 2016

Decision Making and Looping in C

Image
In this post we are going to discuss the basics of loops. This loops are very helpful for Programming languages Not only C but all of them. To execute a segment of a program up to given terminating condition repeatedly is called looping in a programming language. for e.g. adding numbers from 1 to 10                     int i=0,sum=0;                      while(i<=10)                                     {                                      sum=sum+i;                                       i++;                             ...