You are on page 1of 1

/home/iek12//monodeve...si_max_4/askisi_max_4/Main.

cs
using System;
namespace askisi_max_4
{
class max
{
public static void Main (string[] args)
{
int a,b,c,d,max;
Console.WriteLine (" .");
a=Convert.ToInt32(Console.ReadLine());
b=Convert.ToInt32(Console.ReadLine());
c=Convert.ToInt32(Console.ReadLine());
d=Convert.ToInt32(Console.ReadLine());
max=a;
if (b>max)
max=b;
if (c>max)
max=c;
if (d>max)
max=d;
Console.WriteLine (" "+max);
Console.ReadKey();
}
}
}

Page 1 of 1

You might also like