Solovetzmila
?>

Решите задач по информатике

Информатика

Ответы

latoyan817

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

namespace ConsoleApp1

{

   class Program

   {

       static void Main(string[] args)

       {

           int a= Int32.Parse(Console.ReadLine());

           int b = Int32.Parse(Console.ReadLine());

           int c = Int32.Parse(Console.ReadLine());

           int d = Int32.Parse(Console.ReadLine());

           int e = Int32.Parse(Console.ReadLine());

           int f = Int32.Parse(Console.ReadLine());

           int g = Int32.Parse(Console.ReadLine());

           int h = Int32.Parse(Console.ReadLine());

           b = Math.Max(a, b);

           c = Math.Max(b, c);

           d = Math.Max(c, d);

           e = Math.Max(d, e);

           f = Math.Max(e, f);

           g = Math.Max(f, g);

           h = Math.Max(g, h);

           Console.WriteLine(h);

       }

   }

}

Ответить на вопрос

Поделитесь своими знаниями, ответьте на вопрос:

Решите задач по информатике
Ваше имя (никнейм)*
Email*
Комментарий*

Популярные вопросы в разделе

Olga-Lev1160
Дмитриевич_Скрябин931
Svetlaru70
Alisa
olechka197835
Баранов955
lanabogd
romka1210
shoora
Anait_Natalya451
Ivanovna
xsmall1
ooo-krasa
MNA888
kiparistop