Haval jalal
Joined ١٦ی نیسانی ٢٠١٥
barnamakany computer c# swbyn bba
Kokrdnaway 5 zhmara: ;int n1, n2, n3, n4, n5, s ; double avg Console.WriteLine("enter intgere"); ;())n1 = int.Parse(Console.Readline ;())n2 = int.Parse(Console.ReadLine ;(() n3 = int.Parse(Console.ReadLine ;(()n4 = int.Parse(Console.ReadLine ;(() n5 = int.Parse(Console.ReadLine ;(() avg = double.Parse(Console.ReadLine ; s = n1 + n2 + n3 + n4 + n ; avg = (float) s / 5 ;(Console.WriteLine("sum={0}",s) ;( Console.WriteLine("avg={0}",avg)
By:haval jalal