Sunday, November 1, 2020

Running loop from 10 to 1 but displaying 1 to 10 in C

#include <stdio.h>

int main()

{

    int i;

    for(i=10;i>=1;i--)

    {

        printf("%d\t",11-i);

    }

    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...