#16_Continue statements in c

 # include <stdio.h>


int main()
{
    int age;
    for (int i = 0i < 10i++)
    {
        printf("%d\n Enter your age: ",i);
        scanf("%d", &age);
        if (age>10)
        {
            continue;
        }
        printf("We have not come across any continue statement");
        
    }
    
    return 0;
}

Comments

Popular posts from this blog

#64_Funtions for File I/O in C

#51_Ex_Game

#24_Stack_using_an_array