Sunday, November 1, 2020

Displaying numbers 1 to 10 by running the loop for 5 times only in C

 #include <stdio.h>

int main()

{

    int i;

    for(i=1;i<=10;i+=2)

    {

        printf("%d%d",i,i+1);

    }

    return 0;

}

No comments:

Post a Comment

Understand Them First ❤️ | A Grandmother’s Journey, Emotions & the Power of Empathy ✨

  https://www.youtube.com/watch?v=EUm5_llWHBQ Hi, namaste Kamj. So, uh I just have been going through something in my life that I wanted to ...