セクション 2. 章 2
single
Challenge: Generate Multiples
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Write a method GenerateMultiples that receives number and limit parameters, and returns an array of multiples of a given number up to a specified limit.
- The method must return an array containing all multiples of
numberthat are less than or equal tolimit. - If
numberis zero or greater thanlimit, the method must return an empty array. - The array must contain the multiples in ascending order, starting from
numberup to the largest multiple not exceedinglimit.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 2. 章 2
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください