セクション 1. 章 6
single
Challenge: Calculate Average Temperature
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Write a program that calculates the average temperature from an array of integers.
- Use a for loop to sum all values in the
tempsarray. - Divide the sum by the number of elements in
tempsto find the average. - Return the average as a
doublevalue.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 6
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください