Skip to content

연산자 관련 질문드립니다. #3

@mlandlee

Description

@mlandlee

나눗셈 기호를 설명 부탁드립니다.
%, **, /
이 세가지 차이점이 무엇인가요?

return(word1.length + word2.length) / 2; 이것은 통과
return(word1.length + word2.length) % 2; 이것은 통과되지 않음
return(word1.length + word2.length) ** 2; 이것도 통과되지 않음

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions