-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: main
Are you sure you want to change the base?
안윤아 과제 제출 #23
Conversation
private final YaClient yaClient; | ||
|
||
public String ykCallService(int x){ | ||
|
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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;
1차 과제 제출합니다