gamerk316
Glorious
hellraiser06 :
//Header files:
#include<iostream.h>
//MainProcedure
void main()
{
cout << "Buy the HD 4770 or the 8800GT"<< endl;
for (int i = 0; i<3; i++)
cout << "I will also post" << endl;
} //End MainProcedure
lawl
#include<iostream.h>
//MainProcedure
void main()
{
cout << "Buy the HD 4770 or the 8800GT"<< endl;
for (int i = 0; i<3; i++)
cout << "I will also post" << endl;
} //End MainProcedure
lawl
I know I could have looped the code, but as you see, I only posted mine once. Besides, I wanted to show 'proper' syntax and spacing. Want me to start an ADA course next? 😀
And for the record, always encapsulate in brackets, to avoid the "dangling else" case, and the for loop doesn't work as intended:
//Header files:
#include<iostream.h>
//Begin MainProcedure
void main()
{
cout << "Buy the HD 4770 or the 8800GT"<< endl;
//Begin ForLoop
for (int i = 0; i<3; i++)
{
cout << "I have posted " << i+1 << " times." << endl;
} //End ForLoop
} //End MainProcedure
And no, I have no idea how we got here, but FYI: 8800GT > 4670.