Advertisement
Alex_Bogdanov

Untitled

Jun 24th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. using System;
  2.  
  3. namespace ConsoleApp1
  4. {
  5. class Program
  6. {
  7. static void Main(string[] args)
  8. {
  9. int num1 = int.Parse(Console.ReadLine());
  10. int num2 = int.Parse(Console.ReadLine());
  11.  
  12. bool areNum1AndNum2InRange = false;
  13.  
  14. //Да речем, че диапазона ти е от 100 до 200
  15.  
  16. if (num1 >= 100 && num1 <= 200 && num2 >= 100 && num2 <= 200)
  17. {
  18. areNum1AndNum2InRange = true;
  19. }
  20. }
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement