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

Everyone Is Fighting a Battle You Can't See ❤️ | A Simple Reminder to Be Kind

 Hi, namaste Krishna. So today we will be talking about that everyone is going through something in their life. Be it you, be it your friend...