C++ For Loop_1.1

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


The Output is Given Below:
12345678910

0 comments:

Post a Comment