セクション 1. 章 66
single
Challenge: Printing a Sequence
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Write a program that generates the first ten even numbers.
Follow these loop parameters exactly:
- Initialization: start
iat1. - Condition: continue while
i <= 10. - Update: increase
iby1each iteration.
Inside the loop:
- Multiply
i * 2. - Store the result in an array.
- Return the full sequence.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 66
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください