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

https://code-basics.com/ru/languages/java/lessons/operators#editor #239

Closed
FallenStarrr opened this issue Dec 30, 2022 · 2 comments
Closed

Comments

@FallenStarrr
Copy link

В этом задании просят найти разность отрицательного числа но при этом тесты ждут сложения, никогда не видел чтобы отнимали отрицательные числа за свою работу

@ssssank
Copy link
Contributor

ssssank commented May 3, 2023

@Malcom1986

@Malcom1986
Copy link
Contributor

Вычитание из числа отрицательного числа как раз и дает сложение. Вспомните из математики: минус на минус дает плюс

3 - -2; // 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants