Skip to content

전다빈 report8 제출!#65

Open
samjan29 wants to merge 9 commits intobeatitudo331:mainfrom
samjan29:main
Open

전다빈 report8 제출!#65
samjan29 wants to merge 9 commits intobeatitudo331:mainfrom
samjan29:main

Conversation

@samjan29
Copy link
Copy Markdown

전다빈 report 1,2 제출합니다

Copy link
Copy Markdown
Owner

@beatitudo331 beatitudo331 left a comment

Choose a reason for hiding this comment

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

plz


int tmp = x;
x = y;
y = tmp;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

temp 를 x를 잠시 맡아 두는 역할로 사용하다 마지막에 z에 넣는 식으로 하시면 좀 더 코드의 수가 줄어들 수 있지 않을까요>??
한번더 고민해 보시면 좋을 것 같아요!

public static void main(String[] args){
int numOfApples = 123; // 사과의 개수
int sizeOfBucket = 10; // 바구니의 크기(바구니에 담을 수 있는 사과의 개수)
int numOfBucket = numOfApples % sizeOfBucket > 0 ? numOfApples / sizeOfBucket + 1 : numOfApples / sizeOfBucket; // 모든 사과를 담는데 필요한 바구니의 수
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

좋습니다!

@samjan29
Copy link
Copy Markdown
Author

samjan29 commented Jan 19, 2023

피드백 받은 것 수정 + report3, 4 제출했습니다!

@samjan29
Copy link
Copy Markdown
Author

report8까지 제출했습니다

@samjan29 samjan29 changed the title 전다빈 report 1,2 제출합니다 전다빈 report8 제출! Jan 25, 2023
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