C++ program print 1 to 10 digit

 #include <iostream>

using namespace std;

int main()

{

 int i;

for(i=1; i<=10; i++)

{

cout<<i;

 cout<<"\n";

}


}


Comments

Popular Posts