Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Practice
- {
- class Program1
- {
- static void Main(string[] args)
- {
- Console.Write("x = ");
- double x = double.Parse(Console.ReadLine());
- Console.Write("y = ");
- double y = double.Parse(Console.ReadLine());
- if (x > y && x < 70 && x > 0 && y > 0)
- {
- Console.WriteLine($"Да");
- }
- else if (x < y || x > 70 || x < 0 || y < 0)
- {
- Console.WriteLine($"Нет");
- }
- else
- {
- Console.WriteLine($"На границе");
- }
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement