SHARE
TWEET

Untitled

a guest Jun 19th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*****Word and Meaning****/
  2.  
  3.      {{"Absolute","Complete"},                        
  4.      {"Custom","Tradition"},                      
  5.      {"Design","Plan"},                    
  6.      {"New", "Latest"},                      
  7.      {"Sound", "Noise"},                  
  8.      {"Vile", "Base"}};
  9.      
  10. string key = "";
  11.      Boolean search=true;
  12.      Console.Write("Input Word: ");
  13.      key= Console.ReadLine();
  14.      Console.WriteLine();    
  15.  
  16.      for(int ctr=0; ctr < Words.GetLength(0); ctr++)
  17.      
  18. if(key == Words[ctr,0])        
  19.             search=true;
  20.              break;          
  21.          else      
  22.              search=false
  23.      if(search==true)
  24.      
  25. Console.WriteLine(Words: " + key+ "Meaning: " +???;
  26.         else
  27.             Console.WriteLine("Not Found" + key);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top