Total Pageviews

Friday, February 11, 2011

C/++ Loop

// Program to introduce the while statement//
//Type of looping//
#include
int main (void)
{
int count = 1;
while ( count > 0 ) {
printf ("%i\n", count);
++count;
printf("Cyrus Allan C. Sudaria ");
}
return 0;
}
//This program will loop forever. nah just kinding//

//This program executes a loop doing a  infinity execution since the value of its statement is infinite.//

No comments:

Post a Comment