Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
base exterior
//Microsoft (R) Visual C# Compiler version 3.4.0-beta4-19562-05 (ff930dec) //Copyright (C) Microsoft Corporation. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Wxlfiesdatabase { public static void Main() { { //Title Screen string username, password; int ctr = 0; Console.Write("\n\n Diegos's stuff\n"); Console.Write(" Enter username and password\n"); Console.Write("------------------------------------------------------\n"); do { //Username Feild Console.Write("Input a username: "); username = Console.ReadLine(); //Password Feild Console.Write("Input a password: "); password = Console.ReadLine(); //If Stored Feilds if(username != "user" || password != "pass") ctr++; else ctr=1; } //While Stored Feilds while((username != "user" || password != "pass") && (ctr != 3)); //On Fail if (ctr == 3) Console.Write("\nfailed Try later!\n\n"); //On Correct else Console.Write("\nThe password entered successfully!\n\n"); //Database Load String string myText="Loading database..."; for(int i=0;i<myText.Length;i++) { Console.Write(myText[i]); System.Threading. Thread.Sleep(50); } //Console Clearing Console.Clear(); } } }
run
|
edit
|
history
|
help
0
gass
Pramod
Knapsack Problem
fnaf
Uri Parts
GC collects object in scope
Making Anagrams-Final
a
CRM_Datum
Code_only_sin_xm