Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created February 14, 2021 21:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codecademydev/88879e0a5d0d5da62e3925ed81653ba9 to your computer and use it in GitHub Desktop.
Save codecademydev/88879e0a5d0d5da62e3925ed81653ba9 to your computer and use it in GitHub Desktop.
Codecademy export
using System;
namespace Review
{
class Program
{
static void Main(string[] args)
{
/* use this space to write your own short program!
Here's what you learned:
BOOL TYPE: bool variableName
COMPARISON OPERATORS: ==, <, >, <=, >=
LOGICAL OPERATORS: &&, ||, !
Good luck! */
//write to the console what the user has to do.
Console.WriteLine("Fill in a password...");
string passw = Console.ReadLine();
//test the code
Console.WriteLine(passw);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment