Last active
December 7, 2021 14:01
-
-
Save goldcoders/886e3d709586f0c3bc5f8840e03e6801 to your computer and use it in GitHub Desktop.
This file contains 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.2 | |
using System; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
// create a program that show ascending value numbers from smallest to largest | |
int number = 1; | |
while (number <= 10) | |
{ | |
Console.WriteLine(number); | |
number++; | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment