Skip to content

Instantly share code, notes, and snippets.

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