Skip to content

solution3#169

Open
vitalka1994 wants to merge 2 commits into
mate-academy:masterfrom
vitalka1994:hw-3
Open

solution3#169
vitalka1994 wants to merge 2 commits into
mate-academy:masterfrom
vitalka1994:hw-3

Conversation

@vitalka1994

Copy link
Copy Markdown

No description provided.

*/
public String toBinaryString(int value) {
return null;
return Integer.toBinaryString(value);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

read checklist attentively

if (value == 0) {
return "0";
}
StringBuilder toBinary = new StringBuilder();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

let's rename variable) try using noun for variables

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