sasfvs

Untitled

Jul 3rd, 2017
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.85 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace ConsoleApplication1
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             var autostring = "test";
  14.             var autonumber = "1";
  15.             Boolean fate = true;
  16.             Console.Write("Hi to you. What is you name? ");
  17.             string name = Console.ReadLine();
  18.             Console.WriteLine("I am happy to meet you, " + name);
  19.             if (((name == "Vlad") || (name == "Lucian")) && (fate)){
  20.  
  21.                 Console.WriteLine("Oh you are " + name + "? Welcome back you trusted person.");
  22.  
  23.             } else {
  24.            
  25.                 Console.WriteLine("I do not think you can be a trusted person.");
  26.             }
  27.             Console.ReadLine();
  28.         }
  29.     }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment