An open API service indexing awesome lists of open source software.

https://github.com/ozzies-code/sentinelvalue

In this C program, we work with a Sentinel Value or Flag value: Flag. A While loop is used on this value and while this Alert value is maintained, the program will continue in execution.
https://github.com/ozzies-code/sentinelvalue

Last synced: 2 months ago
JSON representation

In this C program, we work with a Sentinel Value or Flag value: Flag. A While loop is used on this value and while this Alert value is maintained, the program will continue in execution.

Awesome Lists containing this project

README

        

# SentinelValue
In this C program, we work with a Sentinel Value or Flag value: Flag. A While loop is used on this value and while this Alert value is maintained, the program will continue in execution.
#include
#include

int main(int argc, char *argv[])
{
int flag = 1, contador = 0;

while(flag)
{
contador++;
if(contador > 10)
break;
}
printf("Contador: %d \n", contador);
system("PAUSE");
return 0;
}