Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Alex
- {
- class Program
- {
- static void Main(string[] args)
- {
- int a, b, c;
- Console.Write("Enter A: ");
- a = Int32.Parse(Console.ReadLine());
- Console.Write("Enter B: ");
- b = Int32.Parse(Console.ReadLine());
- Console.Write("Enter C: ");
- c = Int32.Parse(Console.ReadLine());
- if (a < b && b < c || c < b && b < a)
- {
- Console.WriteLine("True.");
- }
- else
- {
- Console.WriteLine("False");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement