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

안윤아 과제 제출 #23

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

안윤아 과제 제출 #23

wants to merge 8 commits into from

Conversation

digital-hamster
Copy link
Contributor

1차 과제 제출합니다

private final YaClient yaClient;

public String ykCallService(int x){

Copy link
Contributor

Choose a reason for hiding this comment

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

nit :
개행 정리해주세요. 현재 함수전체에서 2개정도면 충분할거 같아요!

Integer numA = yaClient.calculateQuadraticEquation(1);
Integer numB = yaClient.calculateQuadraticEquation(2);

Integer resultA = (numB - (numA*2))/2;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit :
Integer resultA = (numB - (numA * 2)) / 2;


Integer resultB = numA - resultA;

String result = "a의 값은: "+resultA +" b의 값은: "+resultB;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit :
String result = "a의 값은: " + resultA + " b의 값은: " + resultB;

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