セクション 1. 章 9
single
Challenge: Find a Name
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Practice searching arrays by checking if a specific name exists in a list of registered users. Complete the NameExists function so that it returns true if the targetName is found in the users array, and false otherwise.
To complete this task, follow these steps:
- Loop through each element in the
usersarray. - Compare each element with the
targetName. - If a match is found, return
true. - If the end of the array is reached without finding a match, return
false.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 9
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください