セクション 2. 章 6
single
Challenge: Filter Even Numbers
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Write a function that prints only the odd numbers from the provided array using a while loop and the continue statement.
- Loop through each element in the numbers array using a while loop.
- Use the continue statement to skip any even numbers.
- Print each odd number to the console.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 2. 章 6
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください