int num = 1; while(num < 6) { Console.WriteLine(num); num+=2; } /* Outputs 1 3 5
Apprenez de maniĂšre plus efficace, gratuitement :
Introduction Ă Python
7.1M apprenants
Introduction Ă Java
4.7M apprenants
Introduction Ă C
1.5M apprenants
Introduction Ă HTML
7.5M apprenants