Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApplication1
- {
- class Program
- {
- static void Main(string[] args)
- {
- string password = "";
- Console.WriteLine("enter the password : ");
- password = Console.ReadLine();
- while (password != "abrah ka dabrah")
- {
- Console.WriteLine("you entered wrong , try again");
- Console.WriteLine("Enter the password : ");
- Console.ReadLine();
- }
- Console.WriteLine("you entered right");
- Console.ReadKey();a
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement