Last active
December 7, 2021 13:59
-
-
Save goldcoders/330777870e9f1b56ebad0ffca31e9aee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Q2 Week 3 | |
// No. 2 | |
using System; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
// show the ascending value numbers from smallest to largest. | |
int i = 0; | |
do | |
{ | |
Console.WriteLine(i); | |
i++; | |
} | |
while (i < 10); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment