Skip to content

Instantly share code, notes, and snippets.

@goldcoders
Last active December 7, 2021 14:01
Show Gist options
  • Save goldcoders/886e3d709586f0c3bc5f8840e03e6801 to your computer and use it in GitHub Desktop.
Save goldcoders/886e3d709586f0c3bc5f8840e03e6801 to your computer and use it in GitHub Desktop.
// 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