using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MaximumNumbers
{
internal class Program
{
static void Main(string[] args) //www.adslfa.blogfa.com
{
int a, b, c, max ;
Console.WriteLine("Enter a, b ,c : " );
a = Convert.ToInt32( Console.ReadLine() );
b = Convert.ToInt32(Console.ReadLine());
c = Convert.ToInt32(Console.ReadLine());
max = (a>b) ? a : b;
max = (c>max) ? c : max;
Console.WriteLine("Max is ==> {0} " ,max);
}
}
}
- ۹۷/۰۶/۱۷