Home
О нас
Products
Services
Регистрация
Войти
Поиск
кандрунин17
@кандрунин17
September 2021
1
10
Report
Даны переменные a, b, c.Найти максимальную из них.
Please enter comments
Please enter your name.
Please enter the correct email address.
Agree to
terms of service
You must agree before submitting.
Send
Answers & Comments
archery
Verified answer
#Ruby 22
def max(a,b,c)
return [a, b, c].max
end
p max(1,6,2)
0 votes
Thanks 1
кандрунин17
прям так и писать
archery
это вопрос? просили программу, вот программа и она работает
кандрунин17
скиньте пожалуйста программу
кандрунин17
если есть
archery
весь код программы в ответе, написана на руби 22 версии
×
Report "Даны переменные a, b, c.Найти максимальную из них..."
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
Helpful Links
О нас
Политика конфиденциальности
Правила и условия
Copyright
Контакты
Helpful Social
Get monthly updates
Submit
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
#Ruby 22def max(a,b,c)
return [a, b, c].max
end
p max(1,6,2)