Skip to content

Instantly share code, notes, and snippets.

@goldcoders
Last active December 7, 2021 14:00
Show Gist options
  • Save goldcoders/32b054ea08b801f1922d1d29bb9db90f to your computer and use it in GitHub Desktop.
Save goldcoders/32b054ea08b801f1922d1d29bb9db90f to your computer and use it in GitHub Desktop.
// Q2 Week 3
// No. 3
using System;
public class Program
{
public static void Main()
{
// show the descending value numbers from smallest to largest.
int i = 10;
do
{
Console.WriteLine(i);
i--;
}
while (i > 0);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment