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

Finding Direction: Navigating Career Goals and Life Aspirations

  Finding Direction: Navigating Career Goals and Life Aspirations Life often presents us with a myriad of choices, and the path to fulfillme...