Guest User

Untitled

a guest
Jun 2nd, 2016
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace _05InvalidNumber
  8. {
  9. class InvalidNumber
  10. {
  11. static void Main(string[] args)
  12. {
  13. int n = int.Parse(Console.ReadLine());
  14. if (!(n >= 100 && n <= 200 || n == 0))
  15. {
  16. Console.WriteLine("invalid");
  17. }
  18. }
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment