Mega Code Archive

 
Categories / Visual C++ .NET / Statement
 

Create a for Loop

#include "stdafx.h" #using <mscorlib.dll> using namespace System; int main(void) {     int x;     for (x=5; x<45; x+=5) {         Console::WriteLine(x);     }     return 0; }