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

All Quotes

Quote 55: Your brand grows through authentic achievements. Quote 54: Personal branding is clarity, consistency, and credibility. Quote 53: E...