SHARE
TWEET

Untitled

GabrielaGynchevska Jul 17th, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace number100200
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             int number = int.Parse(Console.ReadLine());
  14.  
  15.             if (number < 100)
  16.             {
  17.                 Console.WriteLine("Less than 100");
  18.             }
  19.             else if (number <= 100 || number <= 200 )
  20.             {
  21.                 Console.WriteLine("Between 100 and 200");
  22.             }
  23.             else if (number > 200)
  24.             {
  25.                 Console.WriteLine("Greater than 200");
  26.             }
  27.         }
  28.     }
  29. }
RAW Paste Data
Top