Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Task 010, Chapter 3.0
- using System;
- public class BetweenNumbers
- {
- static void Main()
- {
- int number = int.Parse(Console.ReadLine());
- if(number < 100)
- {
- Console.WriteLine("Less than 100");
- }
- else if(number >= 100 && number <= 200)
- {
- Console.WriteLine("Between 100 and 200");
- }
- else if(number > 200)
- {
- Console.WriteLine("Greater than 200");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment