Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _12._11._19trith
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine(" DOSE 3 ARITHMOUS ");
- int a1, a2, a3;
- a1 = Convert.ToInt32(Console.ReadLine());
- a2 = Convert.ToInt32(Console.ReadLine());
- a3 = Convert.ToInt32(Console.ReadLine());
- if (a1 > a2 && a1 > a3)
- {
- Console.WriteLine(" o {0} EINAI O MEGALITEROS", a1);
- }
- else if (a2 > a1 && a2 > a3)
- {
- Console.WriteLine(" O {0} EINAI MEGALITEROS", a2);
- }
- else if ( a3 > a2 && a3 > a1)
- {
- Console.WriteLine(" O {0} EINAI MEGALITEROS", a3);
- }
- else
- {
- Console.WriteLine(" OI ARITHMOI EINAI ISOI");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement