Sub 解答例() Dim x() i = 1 Do While Cells(i, 1) <> "" i = i + 1 Loop kosu = i - 1 Cells(1, 2) = "個数" Cells(1, 3) = kosu ReDim x(kosu) For i = 1 To kosu x(i) = Cells(i, 1) Next i wa = 0 For i = 1 To kosu wa = wa + x(i) Next i Cells(2, 2) = "合計" Cells(2, 3) = wa heikin = wa / kosu Cells(3, 2) = "平均" Cells(3, 3) = heikin wa = 0 For i = 1 To kosu wa = wa + (x(i) - heikin) ^ 2 Next i Cells(4, 2) = "分散" Cells(4, 3) = wa / kosu End Sub |
Appleが「iPhone 16e」発表、直販価格99,800円から2月28日発売
-
Appleは、「iPhone 16」シリーズの新モデル「iPhone
16e」を発表した。Apple公式ストアでは、2月28日(金)に発売する。予約受け付けは2月21日(金)22:00から。
Appleのプレスリリースは...
0 件のコメント:
コメントを投稿