// Justin C. Miller
// University of Wisconsin Oshkosh
// Made for: http://www.geocities.com/neonprimetime.geo/index.html
// Date: 2001
// Borland Builder 4.0
// for
#include
int main()
{
// there are 3 parts to a for loop
// the first part defines a variable
// to use usually as a counter
// the for loop continues while the
// middle condition is true
// finally the third part either
// increments or decrements your
// counter which in this case is i
// so this loop prints out i while
// i is less than or equal to 10
for(int i = 1 ; i <=10 ; i++)
cout << i << endl ;
return 0 ;
}
// Output is
// 1
// 2
// 3
// 4
// 5
// 6
// 7
// 8
// 9
// 10
               (
geocities.com/neonprimetime.geo/cpp)                   (
geocities.com/neonprimetime.geo)