Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace InvalidNumber
- {
- class Program
- {
- static void Main(string[] args)
- {
- int num = int.Parse(Console.ReadLine());
- if (num >=100 && num <=200 || num == 0)
- {
- Console.WriteLine();
- }
- else
- {
- Console.WriteLine("invalid");
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment