#include <iostream>
using namespace std;
int main()
{
/// for ( init; condition; increment )
/// {
/// statement(s);
/// }
for (int i=10 ;i>=1 ; i--)///i=i-1
{
cout<<i<<endl;
}
return 0;
}
Sunday, June 8, 2014
C++ Beginners Tutorial 8 - Using 'For Loop'
10:27 AM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment