Skip to content

강동영#4

Open
YoungDong99 wants to merge 17 commits into
mainfrom
Dong0
Open

강동영#4
YoungDong99 wants to merge 17 commits into
mainfrom
Dong0

Conversation

@YoungDong99

Copy link
Copy Markdown

No description provided.

[짝수와 홀수 구하기]
Comment thread src/main/java/Solution/getNumber.java Outdated
public String solution(int num) {
String answer = "";
if(num % 2 == 0) answer = "Even";
else answer = "Odd";

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.

코딩 고수👽

@YoungDong99 YoungDong99 changed the title 커밋테스트 강동영 May 3, 2023
//자릿수 더하기
public int solution(int n) {
int answer = 0;
String num = String.valueOf(n);

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.

String.valueOf 배우고갑니다 굿

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