Last active
December 7, 2021 14:01
-
-
Save goldcoders/63ff790df3dea57e53807c9d3bdba1d3 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 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