SHARE
TWEET

Untitled

a guest Oct 21st, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2.  
  3. class Program
  4. {
  5.     static void Main()
  6.     {
  7.         int num = int.Parse(Console.ReadLine());
  8.         if (num < 100)
  9.         {
  10.             Console.WriteLine("Less than 100");
  11.         }
  12.         else if (num > 100 && num < 200)
  13.         {
  14.             Console.WriteLine("Between 100 and 200");
  15.         }
  16.  
  17.         if (num > 200)
  18.         {
  19.             Console.WriteLine("Greater than 200");
  20.         }
  21.     }
  22. }
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