#include
using std::cout;
using std::cin;
using std::endl; // if you havent seen this before it justs ends the line
int main()
{
for (int A = 1 ; A<= 30 ; A++)
{
cout << A << endl;
}
system("pause");
return 0;
}
-the for statement is made up of 3 parts
for ("initalization" ; "condition" ; "action")
No comments:
Post a Comment