Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2016
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 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 _01PrintStringsLetters
  8. {
  9. class PrintStringsLetters
  10. {
  11. static void Main(string[] args)
  12. {
  13. //var
  14. int num = int.Parse(Console.ReadLine());
  15.  
  16. if (num >= 100 && num <= 200 || num == 0)
  17. {
  18. Console.WriteLine("");
  19. }
  20.  
  21. else if (num < 0 || num > 200 || num < 100)
  22. {
  23. Console.WriteLine("invalid");
  24. }
  25. }
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement