C++: Exemple d’utilisation de la boucle ‘while’

Author:


Download

// MesExemples3.cpp : 

#include "stdafx.h"
using namespace System;

Int32 main(void)
{
	Int32 i = 0;
	while ( i < 10)
	{
		i++;
		Console::WriteLine(i);
	}

	Console::ReadLine();

    return 0;
}

Leave a Reply

Your email address will not be published. Required fields are marked *