Last active
December 7, 2021 14:00
-
-
Save goldcoders/32b054ea08b801f1922d1d29bb9db90f 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. 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