+ 1

How do I go through the numbers from 1 to 100 in C #?

What code can I use to cycle through the numbers from 1 to 100?

4th Mar 2021, 11:54 AM
Camilo Quejada
Camilo Quejada - avatar
2 Réponses
+ 7
for(int i = 1; I <=100; i++) { Console.WriteLine(i); }
4th Mar 2021, 1:30 PM
Orchiiik
Orchiiik - avatar
4th Mar 2021, 12:01 PM
ChaoticDawg
ChaoticDawg - avatar