/
Danveery
/
ITIS
Обзор
Документация
Войти
/
Danveery
/
ITIS
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
ControlWork/Program.cs
81 строка
2 KB
Danveery
добавил к/р
25 окт 2025, 16:27
25 окт 2025, 16:27
ee230b6
Код
Авторство
О чём код?
// using System; // class Program // { // static void Main(string[] args) // { // int[] mass = new int[]{1, 2, 3, 32, 64, 128, 0}; // int answer = 1000000; // for (int i = 0; i < mass.Length; i++){ // if (mass[i] < answer){ // answer = mass[i]; // } // } // Console.WriteLine(answer); // } // } // namespace less // { // class Program // { // //2 задача // static void Main(string[] args) // { // string str = "AndreyTheBest"; // int cnt = 0; // for (int i = 0; i < str.Length; i++){ // if (Char.IsLower(str[i])){ // cnt += 1; // } // } // Console.WriteLine(cnt); // } // } // } // namespace less // { // //3 задача // class Program // { // static void Main(string[] args) // { // string z = "OscarLateToLesson"; // for (int i = z.Length-1; i >= 0; i--){ // if (i == z.Length-3){ // Console.WriteLine(z[i]); // } // } // } // } // } // namespace less // { // //4 задача // class Program // { // static bool reversing (int z) // { // string reverse = ""; // string strz = z.ToString(); // for (int i = strz.Length-1; i >= 0; i--) // { // reverse += strz[i]; // } // if (reverse == strz) // { // return true; // } // else {return false;} // } // static void Main(string[] args) // { // Console.WriteLine(reversing(899)); // } // } // }