Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

how to create a for loop in c++

#include <iostream>
using namespace std;

int main()
{
	for (int i = 0; i < 20; i++)
    {
		cout << i << endl;
    }
  	//prints the number (i)
}
 
PREVIOUS NEXT
Tagged: #create #loop
ADD COMMENT
Topic
Name
4+8 =