Advertisement
fbinnzhivko

Boolean Variable

May 19th, 2016
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.29 KB | None | 0 0
  1. using System;
  2. class Program
  3. {
  4.     static void Main()
  5.     {
  6.         string a = Console.ReadLine().ToLower();      
  7.  
  8.         if (a == "true")
  9.         {
  10.             Console.WriteLine("True");
  11.         }
  12.         else
  13.         {
  14.             Console.WriteLine("False");
  15.         }
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement