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

added solution for homework Math_pow #20

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Valdes2
Copy link

@Valdes2 Valdes2 commented Aug 19, 2019

No description provided.

@@ -9,6 +9,11 @@
* exponential - значение степени
*/
public int pow(int number, int exponential) {
return 0;
int multiplier = number;
int res = 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you using this variable?

@@ -9,6 +9,11 @@
* exponential - значение степени
*/
public int pow(int number, int exponential) {
return 0;
int multiplier = number;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this variable required?

return 0;

int res = number;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove empty lines inside method

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

Successfully merging this pull request may close these issues.

2 participants