Last Updated:2025/11/24

I replaced a nested if-else with a ternary operator to make the code shorter and clearer.

See correct answer

I replaced a nested if-else with a ternary operator to make the code shorter and clearer.

音声機能が動作しない場合はこちらをご確認ください
Edit Histories(0)
Source Sentence

ネストした if-else を三項演算子(?:)に置き換えて、コードを短く分かりやすくしました。

Sentence quizzes to help you learn to read

Edit Histories(0)

Login / Sign up

 

Download the app!
DiQt

DiQt

Free

★★★★★★★★★★