Skip to content

Instantly share code, notes, and snippets.

@goldcoders
Last active December 7, 2021 13:59
Show Gist options
  • Save goldcoders/330777870e9f1b56ebad0ffca31e9aee to your computer and use it in GitHub Desktop.
Save goldcoders/330777870e9f1b56ebad0ffca31e9aee to your computer and use it in GitHub Desktop.
// 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