Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AM05 Circle - easy #627

Open
edshamr opened this issue Oct 5, 2024 · 0 comments
Open

AM05 Circle - easy #627

edshamr opened this issue Oct 5, 2024 · 0 comments

Comments

@edshamr
Copy link

edshamr commented Oct 5, 2024

Создай класс Circle, который будет иметь поле radius (радиус круга). Напиши методы для:

Вычисления площади круга (calculateArea()),
Вычисления длины окружности (calculateCircumference()).

Подсказка:

  • Площадь круга: π * radius * radius,
  • длина окружности: 2 * π * radius.
  • Используй Math.PI для значения π.
@edshamr edshamr changed the title 6 #5 Oct 5, 2024
@edshamr edshamr changed the title #5 #5 - easy Oct 5, 2024
@edshamr edshamr changed the title #5 - easy AM05 Circle - easy Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant