Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
99
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.  
  3. class Program
  4. {
  5. static void Main()
  6. {
  7. int num = int.Parse(Console.ReadLine());
  8. if (num < 100)
  9. {
  10. Console.WriteLine("Less than 100");
  11. }
  12. else if (num > 100 && num < 200)
  13. {
  14. Console.WriteLine("Between 100 and 200");
  15. }
  16.  
  17. if (num > 200)
  18. {
  19. Console.WriteLine("Greater than 200");
  20. }
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement