C++ For Loop_1.2

#include <iostream>
using namespace std;
int main (void)
{
    int i,j;
    freopen("out.txt","w",stdout);
    for(i=9;i>=1;i--)
    cout<< i <<" ";
}


The Output is Given Below:
9 8 7 6 5 4 3 2 1 

0 comments:

Post a Comment