Quotes help make search much faster. Example: "Practice Makes Perfect"

Monday, September 2, 2019

Codecademy Operator Shortcuts 4/8


// Sample Solution
using System;

namespace MakingProgress
{
  class Program
  {
    static void Main(string[] args)
    {
      // declare steps variable
int steps = 0;

      // Two steps forward
steps = steps + 2;

      // One step back
steps = steps - 1;

      // Print result to the console
Console.WriteLine(steps);
    }
  }
}

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts