Visual C++ .NET/Statement/while
Create a while Loop
#include "stdafx.h"
#using <mscorlib.dll>
using namespace System;
int main(void)
{
int x;
x=0;
while((++x)<10)
{
Console::WriteLine(x);
}
return 0;
}
#include "stdafx.h"
#using <mscorlib.dll>
using namespace System;
int main(void)
{
int x;
x=0;
while((++x)<10)
{
Console::WriteLine(x);
}
return 0;
}