Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApplication57
- {
- class Program
- {
- static void Main(string[] args)
- {
- var x = int.Parse(Console.ReadLine());
- if(x<100)
- {
- Console.WriteLine("Less than 100");
- }
- else if (x>=100 && x<=200)
- {
- Console.WriteLine("Between 100 and 200");
- }
- else if(x>200)
- {
- Console.WriteLine("Greater than 200");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement