Tutorials Programme

Loops Tutorials

 Example  Example While Loop

#include <stdio.h>
int main()
{
int count;
count = 0;
while (count < 4)
{
printf("The value of count is %d\n", count);
count += 1;
}
return 0;
}
/* Result
The value of count is 0
The value of count is 1
The value of count is 2
The value of count is 3
*/

Most Popular

About PHP language & CodeIgniter

Connect to Amazon EC2 instance using Filezilla and SFTP

Reset the auto increment value for a MySQL table