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

SAP Tcodes

zme27 - Automatic STO creation mmbe - Stock Overview, Material, Batch me51n - Create Purchase Requisition me21n - Create Purchase Order me59...