Skip to content

Instantly share code, notes, and snippets.

View GretaP's full-sized avatar

Greta Parks GretaP

  • Boulder, CO
  • 15:58 (UTC -12:00)
View GitHub Profile
@GretaP
GretaP / UdemyConsecutiveNumbers
Last active April 5, 2022 19:44
Solution to an Udemy exercise
using System;
namespace ConsecutiveNumberGist
{
class Program
{
static void Main(string[] args)
{
//1 - Write a program and ask the user to enter a few numbers separated by a hyphen.
//Work out if the numbers are consecutive.