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 Number100to200
- {
- class Program
- {
- static void Main(string[] args)
- {
- var num = int.Parse(Console.ReadLine());
- if (num < 100)
- { Console.WriteLine("Less than 100"); }
- if ((num >= 100) && (num <= 200))
- { Console.WriteLine("Between 100 and 200"); }
- else if (num > 200)
- { Console.WriteLine("Greater than 200"); }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement